Skip to content

Commit cc8b49f

Browse files
committed
prefer gettimeofday() timing over of rusage()
github: fixes kdlucas#15, fixes kdlucas#18, fixes kdlucas#26
1 parent 9665b29 commit cc8b49f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

UnixBench/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ $(PROGDIR)/select: $(SRCDIR)/time-polling.c
241241
$(PROGDIR)/select: CFLAGS += -DUNIXBENCH -DHAS_SELECT
242242

243243
$(PROGDIR)/whetstone-double: $(SRCDIR)/whets.c
244-
$(PROGDIR)/whetstone-double: CFLAGS += -DDP -DUNIX -DUNIXBENCH
244+
$(PROGDIR)/whetstone-double: CFLAGS += -DDP -DGTODay -DUNIXBENCH
245245
$(PROGDIR)/whetstone-double: LDFLAGS += -lm
246246

247247
$(PROGDIR)/pipe: $(SRCDIR)/pipe.c $(SRCDIR)/timeit.c

0 commit comments

Comments
 (0)