aboutsummaryrefslogtreecommitdiffstats
path: root/test/monniaux/ternary
diff options
context:
space:
mode:
authorCyril SIX <cyril.six@kalray.eu>2019-05-17 14:14:38 +0200
committerCyril SIX <cyril.six@kalray.eu>2019-05-17 14:14:38 +0200
commit76c41fd907a3f7e7d574da4c075f30656e3ede9f (patch)
tree5f526633ce99c392b8a1bd1a4d95e17934643b5d /test/monniaux/ternary
parent7cecc1acf0f32044d702aa9fc983eebb3f57f9fb (diff)
downloadcompcert-kvx-76c41fd907a3f7e7d574da4c075f30656e3ede9f.tar.gz
compcert-kvx-76c41fd907a3f7e7d574da4c075f30656e3ede9f.zip
Measures to CSV done
Diffstat (limited to 'test/monniaux/ternary')
-rw-r--r--test/monniaux/ternary/make.proto1
-rw-r--r--test/monniaux/ternary/ternary.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/test/monniaux/ternary/make.proto b/test/monniaux/ternary/make.proto
index c5219f1c..1568ed07 100644
--- a/test/monniaux/ternary/make.proto
+++ b/test/monniaux/ternary/make.proto
@@ -1 +1,2 @@
target: ternary
+measures: [cycles]
diff --git a/test/monniaux/ternary/ternary.c b/test/monniaux/ternary/ternary.c
index ed7de156..e8813a5c 100644
--- a/test/monniaux/ternary/ternary.c
+++ b/test/monniaux/ternary/ternary.c
@@ -19,6 +19,6 @@ int main() {
clock_start();
data result = silly_computation();
clock_stop();
- printf("result=%" PRIu32 "\ncycles=%" PRIu64 "\n", result, get_total_clock());
+ printf("result=%" PRIu32 "\ncycles:%" PRIu64 "\n", result, get_total_clock());
return 0;
}