diff options
Diffstat (limited to 'test/monniaux/xor_and_mat')
-rw-r--r-- | test/monniaux/xor_and_mat/Makefile | 4 | ||||
-rw-r--r-- | test/monniaux/xor_and_mat/int_mat_run.c | 14 | ||||
-rw-r--r-- | test/monniaux/xor_and_mat/make.proto | 3 |
3 files changed, 11 insertions, 10 deletions
diff --git a/test/monniaux/xor_and_mat/Makefile b/test/monniaux/xor_and_mat/Makefile new file mode 100644 index 00000000..e6c4db77 --- /dev/null +++ b/test/monniaux/xor_and_mat/Makefile @@ -0,0 +1,4 @@ +TARGET=xor_and_mat +MEASURES="c1 c2 c3 c4 c5 c6 c7" + +include ../rules.mk diff --git a/test/monniaux/xor_and_mat/int_mat_run.c b/test/monniaux/xor_and_mat/int_mat_run.c index cd902bca..a6a821d9 100644 --- a/test/monniaux/xor_and_mat/int_mat_run.c +++ b/test/monniaux/xor_and_mat/int_mat_run.c @@ -54,13 +54,13 @@ int main() { "c1==c5: %s\n" "c1==c6: %s\n" "c1==c7: %s\n" - "c1_time : %" PRIu64 "\n" - "c2_time : %" PRIu64 "\n" - "c3_time : %" PRIu64 "\n" - "c4_time : %" PRIu64 "\n" - "c5_time : %" PRIu64 "\n" - "c6_time : %" PRIu64 "\n" - "c7_time : %" PRIu64 "\n", + "c1 cycles: %" PRIu64 "\n" + "c2 cycles: %" PRIu64 "\n" + "c3 cycles: %" PRIu64 "\n" + "c4 cycles: %" PRIu64 "\n" + "c5 cycles: %" PRIu64 "\n" + "c6 cycles: %" PRIu64 "\n" + "c7 cycles: %" PRIu64 "\n", xor_and_mat_equal(m, n, c1, p, c2, p)?"true":"false", xor_and_mat_equal(m, n, c1, p, c3, p)?"true":"false", diff --git a/test/monniaux/xor_and_mat/make.proto b/test/monniaux/xor_and_mat/make.proto deleted file mode 100644 index 0c2f3dc1..00000000 --- a/test/monniaux/xor_and_mat/make.proto +++ /dev/null @@ -1,3 +0,0 @@ -sources: int_mat_run.c int_mat.c -target: xor_and_mat -measures: [[c2_time, c2], [c7_time, c7]] |