aboutsummaryrefslogtreecommitdiffstats
path: root/config/config.py
diff options
context:
space:
mode:
authorJonathan Herman <hermanjl@cs.unc.edu>2013-02-07 11:21:23 -0500
committerJonathan Herman <hermanjl@cs.unc.edu>2013-02-07 11:21:23 -0500
commit39020cf5ae3030bc15035925a0c72eb44eea67b7 (patch)
treefb82b339c1e5c14334f8d9839f8d836b120fbb08 /config/config.py
parentd524da9bd072ad1be4ac0d633e3e783094ddc2d7 (diff)
Added gen_exps.py script.
Diffstat (limited to 'config/config.py')
-rw-r--r--config/config.py16
1 files changed, 9 insertions, 7 deletions
diff --git a/config/config.py b/config/config.py
index 3282705..d463999 100644
--- a/config/config.py
+++ b/config/config.py
@@ -17,18 +17,20 @@ BINS = {'rtspin' : get_executable('rtspin', 'liblitmus'),
17FILES = {'ft_data' : 'ft.bin', 17FILES = {'ft_data' : 'ft.bin',
18 'linux_data' : 'trace.dat', 18 'linux_data' : 'trace.dat',
19 'sched_data' : 'st-{}.bin', 19 'sched_data' : 'st-{}.bin',
20 'log_data' : 'trace.slog',} 20 'log_data' : 'trace.slog'}
21 21
22'''Default parameter names in params.py.''' 22'''Default parameter names in params.py.'''
23PARAMS = {'sched' : 'scheduler', 23# TODO: add check for config options
24 'dur' : 'duration', 24PARAMS = {'sched' : 'scheduler', # Scheduler used by run_exps
25 'kernel' : 'uname', 25 'dur' : 'duration', # Duration of tests in run_exps
26 'cycles' : 'cpu-frequency'} 26 'kernel' : 'uname', # Regex of required OS name in run_exps
27 'cycles' : 'cpu-frequency', # Frequency run_exps was run with
28 'tasks' : 'tasks' # Number of tasks
29 }
27 30
28'''Default values for program parameters.''' 31'''Default values for program options.'''
29DEFAULTS = {'params_file' : 'params.py', 32DEFAULTS = {'params_file' : 'params.py',
30 'sched_file' : 'sched.py', 33 'sched_file' : 'sched.py',
31 'exps_file' : 'exps.py',
32 'duration' : 10, 34 'duration' : 10,
33 'spin' : 'rtspin', 35 'spin' : 'rtspin',
34 'cycles' : 2000} 36 'cycles' : 2000}