aboutsummaryrefslogtreecommitdiffstats
path: root/test/monniaux/glibc_qsort
diff options
context:
space:
mode:
authorCyril SIX <cyril.six@kalray.eu>2019-05-17 12:03:18 +0200
committerCyril SIX <cyril.six@kalray.eu>2019-05-17 12:03:18 +0200
commit4f3b7c0d75fd90ac064419d19d7af2e340d516aa (patch)
tree8e5b880c997c204fdf9b100b4aefbecdced33654 /test/monniaux/glibc_qsort
parente3b4b3280ffd0d57d4f40f5ca253a1c570ddd6c6 (diff)
downloadcompcert-kvx-4f3b7c0d75fd90ac064419d19d7af2e340d516aa.tar.gz
compcert-kvx-4f3b7c0d75fd90ac064419d19d7af2e340d516aa.zip
Adding more measures
Diffstat (limited to 'test/monniaux/glibc_qsort')
-rw-r--r--test/monniaux/glibc_qsort/glibc_qsort_run.c2
-rw-r--r--test/monniaux/glibc_qsort/make.proto1
2 files changed, 2 insertions, 1 deletions
diff --git a/test/monniaux/glibc_qsort/glibc_qsort_run.c b/test/monniaux/glibc_qsort/glibc_qsort_run.c
index 92bfba4e..7fcb8130 100644
--- a/test/monniaux/glibc_qsort/glibc_qsort_run.c
+++ b/test/monniaux/glibc_qsort/glibc_qsort_run.c
@@ -41,7 +41,7 @@ int main (void) {
quicksort(vec, len, sizeof(data), data_compare, NULL);
quicksort_time = get_cycle() - quicksort_time;
printf("sorted=%s\n"
- "quicksort_time=%" PRIu64 "\n",
+ "quicksort_time:%" PRIu64 "\n",
data_vec_is_sorted(vec, len)?"true":"false",
quicksort_time);
free(vec);
diff --git a/test/monniaux/glibc_qsort/make.proto b/test/monniaux/glibc_qsort/make.proto
index d89f9ea4..763e77f5 100644
--- a/test/monniaux/glibc_qsort/make.proto
+++ b/test/monniaux/glibc_qsort/make.proto
@@ -1,2 +1,3 @@
objdeps: [{name: glibc_qsort_run, compiler: gcc}]
target: glibc_qsort
+measures: [quicksort_time]