From 4f3b7c0d75fd90ac064419d19d7af2e340d516aa Mon Sep 17 00:00:00 2001 From: Cyril SIX Date: Fri, 17 May 2019 12:03:18 +0200 Subject: Adding more measures --- test/monniaux/heapsort/heapsort_run.c | 2 +- test/monniaux/heapsort/make.proto | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'test/monniaux/heapsort') 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] -- cgit