From 69933c5b521eacd968c4d78ad769ea7a3d6b872f Mon Sep 17 00:00:00 2001 From: Gediminas Jakutis Date: Thu, 24 Oct 2019 14:20:49 +0300 Subject: diagnostic: print time since program start instead. Signed-off-by: Gediminas Jakutis --- src/time/benchmark.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'src/time') diff --git a/src/time/benchmark.c b/src/time/benchmark.c index 543275a..4738676 100644 --- a/src/time/benchmark.c +++ b/src/time/benchmark.c @@ -22,14 +22,9 @@ #include #include #include "rin/time.h" +#include "rin/definitions.h" #include "time_private.h" -#if defined CLOCK_MONOTONIC -# define RIN_CLOCK_WALL_COUNTER CLOCK_MONOTONIC -#else -# define RIN_CLOCK_WALL_COUNTER CLOCK_REALTIME -#endif /* defined CLOCK_MONOTONIC */ - static struct bench { int status; struct rusage runtime; -- cgit v1.2.3