summaryrefslogtreecommitdiff
path: root/src/output.cpp
diff options
context:
space:
mode:
authorTim Besard <tim.besard@gmail.com>2011-11-19 16:58:56 +0100
committerTim Besard <tim.besard@gmail.com>2011-11-19 16:58:56 +0100
commit393401b50f728ff5dc7a5d29c9c976eaff6a2a26 (patch)
treed8c3e71a84d88ed81030a44cf6a527a6589e2042 /src/output.cpp
parent365dfd66a5e1fccf344d852b659e229c6c1e31c3 (diff)
Support for different prefetching hints.
Diffstat (limited to 'src/output.cpp')
-rw-r--r--src/output.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/output.cpp b/src/output.cpp
index 4efb415..ad4aa98 100644
--- a/src/output.cpp
+++ b/src/output.cpp
@@ -50,7 +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("prefetch hint,");
printf("experiments,");
printf("access pattern,");
printf("stride,");
@@ -80,7 +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("%s,", prefetch_hint_string(e.prefetch_hint));
printf("%ld,", e.experiments);
printf("%s,", e.access());
printf("%ld,", e.stride);
@@ -123,7 +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("prefetch hint = %s\n", prefetch_hint_string(e.prefetch_hint));
printf("experiments = %ld\n", e.experiments);
printf("access pattern = %s\n", e.access());
printf("stride = %ld\n", e.stride);