aboutsummaryrefslogtreecommitdiffstats
path: root/run_exps.py
diff options
context:
space:
mode:
Diffstat (limited to 'run_exps.py')
-rwxr-xr-xrun_exps.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/run_exps.py b/run_exps.py
index cc348ec..8fd9ed2 100755
--- a/run_exps.py
+++ b/run_exps.py
@@ -117,6 +117,7 @@ def load_experiment(sched_file, scheduler, duration, param_file, out_dir):
117 # Cycles is saved here for accurate overhead calculations later 117 # Cycles is saved here for accurate overhead calculations later
118 out_params = dict(params.items() + 118 out_params = dict(params.items() +
119 [(conf.PARAMS['sched'], scheduler), 119 [(conf.PARAMS['sched'], scheduler),
120 (conf.PARAMS['tasks'], len(schedule['spin'])),
120 (conf.PARAMS['dur'], duration), 121 (conf.PARAMS['dur'], duration),
121 (conf.PARAMS['cycles'], lu.cpu_freq())]) 122 (conf.PARAMS['cycles'], lu.cpu_freq())])
122 with open("%s/%s" % (out_dir, conf.DEFAULTS['params_file']), 'w') as f: 123 with open("%s/%s" % (out_dir, conf.DEFAULTS['params_file']), 'w') as f: