aboutsummaryrefslogtreecommitdiffstats
path: root/test/monniaux/clock.c
diff options
context:
space:
mode:
authorDavid Monniaux <david.monniaux@univ-grenoble-alpes.fr>2019-02-02 15:57:48 +0100
committerDavid Monniaux <david.monniaux@univ-grenoble-alpes.fr>2019-02-02 15:57:48 +0100
commite6890cc9d54dde37921e263daac03e1d9b8eee1e (patch)
treee5f5b4bce85ada7ba82646a5437f39c3976cc37e /test/monniaux/clock.c
parent1817a0c73f6aef9e69f7105ad19ca78ad6cbffd9 (diff)
downloadcompcert-kvx-e6890cc9d54dde37921e263daac03e1d9b8eee1e.tar.gz
compcert-kvx-e6890cc9d54dde37921e263daac03e1d9b8eee1e.zip
better Makefile and printouts
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);
+}