From 649b64013619f67160fd289b208189b88e6196fa Mon Sep 17 00:00:00 2001 From: Jonathan Herman Date: Sun, 17 Feb 2013 12:02:15 -0800 Subject: Save feather-trace timer frequency, not CPU frequency, with each experiment. --- config/config.py | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) (limited to 'config/config.py') diff --git a/config/config.py b/config/config.py index d463999..31ef7c7 100644 --- a/config/config.py +++ b/config/config.py @@ -10,7 +10,7 @@ BINS = {'rtspin' : get_executable('rtspin', 'liblitmus'), 'ftsort' : get_executable('ftsort', 'feather-trace-tools'), 'st_trace' : get_executable('st_trace', 'feather-trace-tools'), 'trace-cmd' : get_executable('trace-cmd', 'rt-kernelshark'), - # Optional, as sched_trace is not a publically supported repository + # Optional, as sched_trace is not a publically supported repository 'st_show' : get_executable('st_show', 'sched_trace', True)} '''Names of output files.''' @@ -20,19 +20,18 @@ FILES = {'ft_data' : 'ft.bin', 'log_data' : 'trace.slog'} '''Default parameter names in params.py.''' -# TODO: add check for config options -PARAMS = {'sched' : 'scheduler', # Scheduler used by run_exps - 'dur' : 'duration', # Duration of tests in run_exps - 'kernel' : 'uname', # Regex of required OS name in run_exps - 'cycles' : 'cpu-frequency', # Frequency run_exps was run with - 'tasks' : 'tasks' # Number of tasks +PARAMS = {'sched' : 'scheduler', # Scheduler used by run_exps + 'dur' : 'duration', # Duration of tests in run_exps + 'kernel' : 'uname', # Regex of required OS name in run_exps + 'cycles' : 'clock-frequency', # Frequency run_exps was run with + 'tasks' : 'tasks' # Number of tasks } '''Default values for program options.''' DEFAULTS = {'params_file' : 'params.py', 'sched_file' : 'sched.py', 'duration' : 10, - 'spin' : 'rtspin', + 'spin' : 'rtspin', 'cycles' : 2000} '''Default sched_trace events (this is all of them).''' -- cgit v1.2.2