diff options
author | Jonathan Herman <hermanjl@cs.unc.edu> | 2013-02-07 11:21:23 -0500 |
---|---|---|
committer | Jonathan Herman <hermanjl@cs.unc.edu> | 2013-02-07 11:21:23 -0500 |
commit | 39020cf5ae3030bc15035925a0c72eb44eea67b7 (patch) | |
tree | fb82b339c1e5c14334f8d9839f8d836b120fbb08 /run_exps.py | |
parent | d524da9bd072ad1be4ac0d633e3e783094ddc2d7 (diff) |
Added gen_exps.py script.
Diffstat (limited to 'run_exps.py')
-rwxr-xr-x | run_exps.py | 1 |
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: |