diff options
Diffstat (limited to 'test/monniaux/glibc_qsort')
-rw-r--r-- | test/monniaux/glibc_qsort/Makefile | 3 | ||||
-rw-r--r-- | test/monniaux/glibc_qsort/glibc_qsort_run.c | 2 | ||||
-rw-r--r-- | test/monniaux/glibc_qsort/make.proto | 3 |
3 files changed, 4 insertions, 4 deletions
diff --git a/test/monniaux/glibc_qsort/Makefile b/test/monniaux/glibc_qsort/Makefile new file mode 100644 index 00000000..ca029339 --- /dev/null +++ b/test/monniaux/glibc_qsort/Makefile @@ -0,0 +1,3 @@ +TARGET=glibc_qsort + +include ../rules.mk diff --git a/test/monniaux/glibc_qsort/glibc_qsort_run.c b/test/monniaux/glibc_qsort/glibc_qsort_run.c index 7fcb8130..fee5a2ff 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", + "time cycles:%" 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 deleted file mode 100644 index 763e77f5..00000000 --- a/test/monniaux/glibc_qsort/make.proto +++ /dev/null @@ -1,3 +0,0 @@ -objdeps: [{name: glibc_qsort_run, compiler: gcc}] -target: glibc_qsort -measures: [quicksort_time] |