diff options
author | Tim Besard <tim.besard@gmail.com> | 2011-11-19 15:42:26 +0100 |
---|---|---|
committer | Tim Besard <tim.besard@gmail.com> | 2011-11-19 15:42:26 +0100 |
commit | 3351bf52a5f8bbeb38725f5bd87dc3ff2c3c6b61 (patch) | |
tree | 8a0c288570eabde328b85b10f9ab093c4dee9040 | |
parent | e801f2560b864cd52b352481c6de1a35508c8271 (diff) |
Fixing alternative output modes.
-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); |