from __future__ import print_function import itertools from common import get_executable_hint, ft_freq '''Paths to binaries.''' BINS = { 'rtspin': get_executable_hint('rtspin', 'liblitmus'), 'release': get_executable_hint('release_ts', 'liblitmus'), 'ftcat': get_executable_hint('ftcat', 'feather-trace-tools'), 'ftsplit': get_executable_hint('ft2csv', 'feather-trace-tools'), 'ftsort': get_executable_hint('ftsort', 'feather-trace-tools'), 'st_trace': get_executable_hint('st_trace', 'feather-trace-tools'), # Optional, as not everyone uses kernelshark yet 'trace-cmd': get_executable_hint('trace-cmd', 'rt-kernelshark', True), # Optional, as sched_trace is not a publically supported repository 'st_show': get_executable_hint('st_show', 'sched_trace', True) } '''Names of data files.''' FILES = { 'params_file': 'params.py', 'sched_file': 'sched.py', 'ft_data': 'ft.bin', 'ft_matches': r'(ft.*\.bin$)|(.*\.ft)', 'linux_data': 'trace.dat', 'sched_data': 'st-{}.bin', 'log_data': 'trace.slog' } '''Default parameter names in params.py.''' 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
from __future__ import print_function import itertools from common import get_executable_hint, ft_freq '''Paths to binaries.''' BINS = { 'rtspin': get_executable_hint('rtspin', 'liblitmus'), 'release': get_executable_hint('release_ts', 'liblitmus'), 'ftcat': get_executable_hint('ftcat', 'feather-trace-tools'), 'ftsplit': get_executable_hint('ft2csv', 'feather-trace-tools'), 'ftsort': get_executable_hint('ftsort', 'feather-trace-tools'), 'st_trace': get_executable_hint('st-trace-schedule', 'feather-trace-tools'), # Optional, as not everyone uses kernelshark yet 'trace-cmd': get_executable_hint('trace-cmd', 'rt-kernelshark', True), # Optional, as sched_trace is not a publically supported repository 'st_show': get_executable_hint('st_show', 'sched_trace', True), 'run_add_node': get_executable_hint('run_config', 'liblitmus', optional=True) } '''Names of data files.''' FILES = { 'params_file': 'params.py', 'sched_file': 'sched.py', 'pid_file': 'pid.log', 'ft_data': 'ft.bin', 'ft_matches': r'(ft.*\.bin$)|(.*\.ft)', 'linux_data': 'trace.dat', 'sched_data': 'st-{}.bin', 'log_data': 'trace.slog', 'masters_file': 'masters.csv',
from __future__ import print_function import itertools from common import get_executable_hint,ft_freq '''Paths to binaries.''' BINS = {'rtspin' : get_executable_hint('rtspin', 'liblitmus'), 'release' : get_executable_hint('release_ts', 'liblitmus'), 'ftcat' : get_executable_hint('ftcat', 'feather-trace-tools'), 'ftsplit' : get_executable_hint('ft2csv', 'feather-trace-tools'), 'ftsort' : get_executable_hint('ftsort', 'feather-trace-tools'), 'st_trace' : get_executable_hint('st_trace', 'feather-trace-tools'), # Optional, as not everyone uses kernelshark yet 'trace-cmd' : get_executable_hint('trace-cmd', 'rt-kernelshark', True), # Optional, as sched_trace is not a publically supported repository 'st_show' : get_executable_hint('st_show', 'sched_trace', True)} '''Names of data files.''' FILES = {'params_file' : 'params.py', 'sched_file' : 'sched.py', 'ft_data' : 'ft.bin', 'ft_matches' : r'(ft.*\.bin$)|(.*\.ft)', 'linux_data' : 'trace.dat', 'sched_data' : 'st-{}.bin', 'log_data' : 'trace.slog'} '''Default parameter names in params.py.''' 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 'copts' : 'config-options', # Required kernel configuration options 'cycles' : 'clock-frequency', # Frequency run_exps was run with
from __future__ import print_function import itertools from common import get_executable_hint,ft_freq '''Paths to binaries.''' BINS = {'rtspin' : get_executable_hint('rtspin', 'liblitmus'), 'release' : get_executable_hint('release_ts', 'liblitmus'), 'ftcat' : get_executable_hint('ftcat', 'feather-trace-tools'), 'ftsplit' : get_executable_hint('ft2csv', 'feather-trace-tools'), 'ftsort' : get_executable_hint('ftsort', 'feather-trace-tools'), 'st_trace' : get_executable_hint('st_trace', 'feather-trace-tools'), # Optional, as not everyone uses kernelshark yet 'trace-cmd' : get_executable_hint('trace-cmd', 'rt-kernelshark', True), # Optional, as sched_trace is not a publically supported repository 'st_show' : get_executable_hint('st_show', 'sched_trace', True), #Optional 'qps_add_master' : get_executable_hint('qps_add_master', 'liblitmus', optional=True), 'qps_add_set' : get_executable_hint('qps_add_set', 'liblitmus', optional=True), 'run_add_node' : get_executable_hint('run_add_node', 'liblitmus', optional=True)} '''Names of data files.''' FILES = {'params_file' : 'params.py', 'sched_file' : 'sched.py', 'ft_data' : 'ft.bin', 'ft_matches' : r'(ft.*\.bin$)|(.*\.ft)', 'linux_data' : 'trace.dat', 'sched_data' : 'st-{}.bin', 'log_data' : 'trace.slog', 'masters_file': 'masters.csv', 'sets_file' : 'sets.csv', 'nodes_file' : 'tree.json'}