summaryrefslogtreecommitdiff
path: root/src/Experiment.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/Experiment.h')
-rw-r--r--src/Experiment.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Experiment.h b/src/Experiment.h
index 4c0ae90..38756f0 100644
--- a/src/Experiment.h
+++ b/src/Experiment.h
@@ -44,6 +44,7 @@ public:
int64 num_threads; // number of threads in the experiment
int64 bytes_per_test; // test working set size (bytes)
int64 busy_cycles; // processing cycles
+ bool prefetch; // use of prefetching
float seconds; // number of seconds per experiment
int64 iterations; // number of iterations per experiment
@@ -91,6 +92,7 @@ public:
const static int32 DEFAULT_EXPERIMENTS = 1;
const static int32 DEFAULT_OUTPUT_MODE = 1;
+ const static bool DEFAULT_PREFETCH = false;
void alloc_local();
void alloc_xor();