aboutsummaryrefslogtreecommitdiffstats
path: root/test/monniaux/sha-2
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/sha-2
parent7cecc1acf0f32044d702aa9fc983eebb3f57f9fb (diff)
downloadcompcert-kvx-76c41fd907a3f7e7d574da4c075f30656e3ede9f.tar.gz
compcert-kvx-76c41fd907a3f7e7d574da4c075f30656e3ede9f.zip
Measures to CSV done
Diffstat (limited to 'test/monniaux/sha-2')
-rw-r--r--test/monniaux/sha-2/make.proto1
-rw-r--r--test/monniaux/sha-2/sha-256_run.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/test/monniaux/sha-2/make.proto b/test/monniaux/sha-2/make.proto
index e96fee7d..f776565e 100644
--- a/test/monniaux/sha-2/make.proto
+++ b/test/monniaux/sha-2/make.proto
@@ -1,2 +1,3 @@
objdeps: [{name: sha-256_run, compiler: gcc}]
target: sha-256
+measures: ["total cycles"]
diff --git a/test/monniaux/sha-2/sha-256_run.c b/test/monniaux/sha-2/sha-256_run.c
index c3865991..05a69d6b 100644
--- a/test/monniaux/sha-2/sha-256_run.c
+++ b/test/monniaux/sha-2/sha-256_run.c
@@ -280,6 +280,6 @@ int main(void)
}
}
destruct_binary_messages();
- printf("total cycles = %" PRIu64 "\n", cycle_total);
+ printf("total cycles : %" PRIu64 "\n", cycle_total);
return 0;
}