From d8bef07031a1928e7e071c47f3d3702d4d9a4ca3 Mon Sep 17 00:00:00 2001 From: David Monniaux Date: Wed, 30 Jan 2019 16:08:49 +0100 Subject: remove preprocessor directives about SIZE_TYPE, now useless (long is now 8 bytes like in gcc) --- test/monniaux/clock.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'test/monniaux/clock.c') diff --git a/test/monniaux/clock.c b/test/monniaux/clock.c index 506dadc3..300cdc7f 100644 --- a/test/monniaux/clock.c +++ b/test/monniaux/clock.c @@ -1,4 +1,5 @@ #include "cycles.h" +#include static cycle_t total_clock, last_start; @@ -13,3 +14,7 @@ void clock_stop(void) { cycle_t get_total_clock(void) { return total_clock; } + +void print_total_clock(void) { + printf("cycles: %llu\n", total_clock); +} -- cgit