aboutsummaryrefslogtreecommitdiffstats
path: root/test/monniaux/clock.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/monniaux/clock.c')
-rw-r--r--test/monniaux/clock.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/monniaux/clock.c b/test/monniaux/clock.c
index e91adc99..d72528d8 100644
--- a/test/monniaux/clock.c
+++ b/test/monniaux/clock.c
@@ -22,3 +22,7 @@ cycle_t get_total_clock(void) {
void print_total_clock(void) {
printf("cycles: %lu\n", total_clock);
}
+
+void printerr_total_clock(void) {
+ fprintf(stderr, "cycles: %lu\n", total_clock);
+}