summaryrefslogtreecommitdiff
path: root/src/experiment.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/experiment.cpp')
-rw-r--r--src/experiment.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/experiment.cpp b/src/experiment.cpp
index 7551d1f..60ae4bc 100644
--- a/src/experiment.cpp
+++ b/src/experiment.cpp
@@ -22,9 +22,7 @@
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
-#if defined(NUMA)
#include <numa.h>
-#endif
// Local includes
#include "chain.h"
@@ -321,6 +319,8 @@ int Experiment::parse_args(int argc, char* argv[]) {
this->output_mode = HEADER;
} else if (strcasecmp(argv[i], "header") == 0) {
this->output_mode = HEADER;
+ } else if (strcasecmp(argv[i], "dfatool") == 0) {
+ this->output_mode = DFATOOL;
} else {
snprintf(errorString, errorStringSize, "invalid output format -- '%s'", argv[i]);
error = true;
@@ -490,10 +490,8 @@ int Experiment::parse_args(int argc, char* argv[]) {
break;
}
-#if defined(NUMA)
this->numa_max_domain = numa_max_node();
this->num_numa_domains = this->numa_max_domain + 1;
-#endif
switch (this->numa_placement) {
case LOCAL: