From cc8b49ff8e332584e1f079a2d0ae1be6abbd8a9c Mon Sep 17 00:00:00 2001 From: Glenn Strauss Date: Sat, 17 Sep 2016 19:58:18 -0400 Subject: [PATCH] prefer gettimeofday() timing over of rusage() github: fixes #15, fixes #18, fixes #26 --- UnixBench/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/UnixBench/Makefile b/UnixBench/Makefile index 70f5e83..880743a 100644 --- a/UnixBench/Makefile +++ b/UnixBench/Makefile @@ -241,7 +241,7 @@ $(PROGDIR)/select: $(SRCDIR)/time-polling.c $(PROGDIR)/select: CFLAGS += -DUNIXBENCH -DHAS_SELECT $(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)/pipe: $(SRCDIR)/pipe.c $(SRCDIR)/timeit.c