aboutsummaryrefslogtreecommitdiffstats
path: root/test/monniaux/heapsort
diff options
context:
space:
mode:
authorDavid Monniaux <david.monniaux@univ-grenoble-alpes.fr>2019-05-20 13:55:22 +0200
committerDavid Monniaux <david.monniaux@univ-grenoble-alpes.fr>2019-05-20 13:55:22 +0200
commitad6ff26beeb42b0e34a95939baa6d41b369e5d56 (patch)
tree17523284ca77e80c511020f82855e8ca574388d0 /test/monniaux/heapsort
parent49fb3d48812d18d3f5c2fdd8d85be8116e59c684 (diff)
parent9f58c4419596fbab69c8fe25c3d51e66acb613d0 (diff)
downloadcompcert-kvx-ad6ff26beeb42b0e34a95939baa6d41b369e5d56.tar.gz
compcert-kvx-ad6ff26beeb42b0e34a95939baa6d41b369e5d56.zip
Merge remote-tracking branch 'origin/mppa-work' into mppa-fast-div
Diffstat (limited to 'test/monniaux/heapsort')
-rw-r--r--test/monniaux/heapsort/heapsort_run.c2
-rw-r--r--test/monniaux/heapsort/make.proto1
2 files changed, 2 insertions, 1 deletions
diff --git a/test/monniaux/heapsort/heapsort_run.c b/test/monniaux/heapsort/heapsort_run.c
index 76378067..053822a3 100644
--- a/test/monniaux/heapsort/heapsort_run.c
+++ b/test/monniaux/heapsort/heapsort_run.c
@@ -13,7 +13,7 @@ int main (void) {
heapsort(vec, len);
heapsort_time = get_cycle() - heapsort_time;
printf("sorted=%s\n"
- "heapsort_time=%" PRIu64 "\n",
+ "heapsort_time:%" PRIu64 "\n",
data_vec_is_sorted(vec, len)?"true":"false",
heapsort_time);
free(vec);
diff --git a/test/monniaux/heapsort/make.proto b/test/monniaux/heapsort/make.proto
index edbf0efd..0b5972d6 100644
--- a/test/monniaux/heapsort/make.proto
+++ b/test/monniaux/heapsort/make.proto
@@ -1,2 +1,3 @@
objdeps: [{name: heapsort_run, compiler: gcc}]
target: heapsort
+measures: [heapsort_time]