diff options
-rw-r--r-- | src/output.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
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); |