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, 2 insertions, 2 deletions
diff --git a/test/monniaux/clock.c b/test/monniaux/clock.c
index 7611a2ee..4ec679f6 100644
--- a/test/monniaux/clock.c
+++ b/test/monniaux/clock.c
@@ -24,9 +24,9 @@ cycle_t get_current_cycle(void) {
}
void print_total_clock(void) {
- printf("cycles: %lu\n", total_clock);
+ printf("time cycles: %" PRcycle "\n", total_clock);
}
void printerr_total_clock(void) {
- fprintf(stderr, "cycles: %lu\n", total_clock);
+ fprintf(stderr, "time cycles: %" PRcycle "\n", total_clock);
}