aboutsummaryrefslogtreecommitdiffstats
path: root/config/config.py
diff options
context:
space:
mode:
authorJonathan Herman <hermanjl@cs.unc.edu>2013-04-10 14:35:37 -0400
committerJonathan Herman <hermanjl@cs.unc.edu>2013-04-10 14:35:37 -0400
commit4162cc0c57de22566efa6e2dab224909279f2a47 (patch)
treea8628096c4161e658c385b07b026371a2ef5e3c4 /config/config.py
parent37a410ab7d4ba991a075a3b2f4d24a656f4544ca (diff)
run_exps will run any command whose last argument is the duration.
Diffstat (limited to 'config/config.py')
-rw-r--r--config/config.py20
1 files changed, 10 insertions, 10 deletions
diff --git a/config/config.py b/config/config.py
index 3486a40..cbac6b2 100644
--- a/config/config.py
+++ b/config/config.py
@@ -1,18 +1,18 @@
1from __future__ import print_function 1from __future__ import print_function
2import itertools 2import itertools
3from common import get_executable,ft_freq 3from common import get_executable_hint,ft_freq
4 4
5'''Paths to binaries.''' 5'''Paths to binaries.'''
6BINS = {'rtspin' : get_executable('rtspin', 'liblitmus'), 6BINS = {'rtspin' : get_executable_hint('rtspin', 'liblitmus'),
7 'release' : get_executable('release_ts', 'liblitmus'), 7 'release' : get_executable_hint('release_ts', 'liblitmus'),
8 'ftcat' : get_executable('ftcat', 'feather-trace-tools'), 8 'ftcat' : get_executable_hint('ftcat', 'feather-trace-tools'),
9 'ftsplit' : get_executable('ft2csv', 'feather-trace-tools'), 9 'ftsplit' : get_executable_hint('ft2csv', 'feather-trace-tools'),
10 'ftsort' : get_executable('ftsort', 'feather-trace-tools'), 10 'ftsort' : get_executable_hint('ftsort', 'feather-trace-tools'),
11 'st_trace' : get_executable('st_trace', 'feather-trace-tools'), 11 'st_trace' : get_executable_hint('st_trace', 'feather-trace-tools'),
12 # Option, as not everyone uses kernelshark yet 12 # Option, as not everyone uses kernelshark yet
13 'trace-cmd' : get_executable('trace-cmd', 'rt-kernelshark', True), 13 'trace-cmd' : get_executable_hint('trace-cmd', 'rt-kernelshark', True),
14 # Optional, as sched_trace is not a publically supported repository 14 # Optional, as sched_trace is not a publically supported repository
15 'st_show' : get_executable('st_show', 'sched_trace', True)} 15 'st_show' : get_executable_hint('st_show', 'sched_trace', True)}
16 16
17'''Names of output files.''' 17'''Names of output files.'''
18FILES = {'ft_data' : 'ft.bin', 18FILES = {'ft_data' : 'ft.bin',
@@ -38,7 +38,7 @@ PARAMS = {'sched' : 'scheduler', # Scheduler used by run_exps
38DEFAULTS = {'params_file' : 'params.py', 38DEFAULTS = {'params_file' : 'params.py',
39 'sched_file' : 'sched.py', 39 'sched_file' : 'sched.py',
40 'duration' : 10, 40 'duration' : 10,
41 'spin' : 'rtspin', 41 'prog' : 'rtspin',
42 'cycles' : ft_freq() or 2000} 42 'cycles' : ft_freq() or 2000}
43 43
44'''Default sched_trace events (this is all of them).''' 44'''Default sched_trace events (this is all of them).'''