prefer gettimeofday() timing over of rusage()

github: fixes #15, fixes #18, fixes #26
This commit is contained in:
Glenn Strauss 2016-09-17 19:58:18 -04:00
parent 9665b29c99
commit cc8b49ff8e

View File

@ -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