aboutsummaryrefslogtreecommitdiffstats
path: root/test/monniaux/clock.h
diff options
context:
space:
mode:
Diffstat (limited to 'test/monniaux/clock.h')
-rw-r--r--test/monniaux/clock.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/monniaux/clock.h b/test/monniaux/clock.h
new file mode 100644
index 00000000..be8fa172
--- /dev/null
+++ b/test/monniaux/clock.h
@@ -0,0 +1,9 @@
+typedef unsigned long cycle_t;
+
+void clock_prepare(void);
+void clock_stop(void);
+void clock_start(void);
+cycle_t get_total_clock(void);
+cycle_t get_current_cycle(void);
+void print_total_clock(void);
+void printerr_total_clock(void);