mirror of
https://github.com/kdlucas/byte-unixbench.git
synced 2024-12-11 23:30:07 +08:00
prefer gettimeofday() timing over of rusage()
github: fixes #15, fixes #18, fixes #26
This commit is contained in:
parent
9665b29c99
commit
cc8b49ff8e
@ -241,7 +241,7 @@ $(PROGDIR)/select: $(SRCDIR)/time-polling.c
|
|||||||
$(PROGDIR)/select: CFLAGS += -DUNIXBENCH -DHAS_SELECT
|
$(PROGDIR)/select: CFLAGS += -DUNIXBENCH -DHAS_SELECT
|
||||||
|
|
||||||
$(PROGDIR)/whetstone-double: $(SRCDIR)/whets.c
|
$(PROGDIR)/whetstone-double: $(SRCDIR)/whets.c
|
||||||
$(PROGDIR)/whetstone-double: CFLAGS += -DDP -DUNIX -DUNIXBENCH
|
$(PROGDIR)/whetstone-double: CFLAGS += -DDP -DGTODay -DUNIXBENCH
|
||||||
$(PROGDIR)/whetstone-double: LDFLAGS += -lm
|
$(PROGDIR)/whetstone-double: LDFLAGS += -lm
|
||||||
|
|
||||||
$(PROGDIR)/pipe: $(SRCDIR)/pipe.c $(SRCDIR)/timeit.c
|
$(PROGDIR)/pipe: $(SRCDIR)/pipe.c $(SRCDIR)/timeit.c
|
||||||
|
Loading…
Reference in New Issue
Block a user