summaryrefslogtreecommitdiff
path: root/src/output.cpp
diff options
context:
space:
mode:
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);