From 3351bf52a5f8bbeb38725f5bd87dc3ff2c3c6b61 Mon Sep 17 00:00:00 2001 From: Tim Besard Date: Sat, 19 Nov 2011 15:42:26 +0100 Subject: Fixing alternative output modes. --- src/output.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/output.cpp b/src/output.cpp index 0362cc1..4efb415 100644 --- a/src/output.cpp +++ b/src/output.cpp @@ -50,6 +50,7 @@ void Output::header(Experiment &e, int64 ops, double secs, double ck_res) { printf("number of threads,"); printf("iterations,"); printf("loop length,"); + printf("prefetch,"); printf("experiments,"); printf("access pattern,"); printf("stride,"); @@ -79,6 +80,7 @@ void Output::csv(Experiment &e, int64 ops, double secs, double ck_res) { printf("%ld,", e.num_threads); printf("%ld,", e.iterations); printf("%ld,", e.loop_length); + printf("%s,", e.prefetch?"yes":"no"); printf("%ld,", e.experiments); printf("%s,", e.access()); printf("%ld,", e.stride); @@ -121,6 +123,7 @@ void Output::table(Experiment &e, int64 ops, double secs, double ck_res) { printf("number of threads = %ld\n", e.num_threads); printf("iterations = %ld\n", e.iterations); printf("loop length = %ld\n", e.loop_length); + printf("prefetch = %s\n", e.prefetch?"yes":"no"); printf("experiments = %ld\n", e.experiments); printf("access pattern = %s\n", e.access()); printf("stride = %ld\n", e.stride); -- cgit v1.2.3