diff --git a/include/utils.h b/include/utils.h index 922e005..a46b2c4 100644 --- a/include/utils.h +++ b/include/utils.h @@ -35,11 +35,12 @@ #define TIMER_START timespec start, end; \ clock_gettime(CLOCK_MONOTONIC, &start); -#define TIMER_STOP clock_gettime(CLOCK_MONOTONIC, &end); \ +#define TIMER_STOP_C(col) clock_gettime(CLOCK_MONOTONIC, &end); \ double t_ns = ((double)(end.tv_sec - start.tv_sec) * 1.0e9 + \ (double)(end.tv_nsec - start.tv_nsec))/1.0e6; \ - std::cout<