aboutsummaryrefslogtreecommitdiffstats
path: root/config/config.py
diff options
context:
space:
mode:
Diffstat (limited to 'config/config.py')
-rw-r--r--config/config.py13
1 files changed, 12 insertions, 1 deletions
diff --git a/config/config.py b/config/config.py
index 5e6f9e3..28e78c9 100644
--- a/config/config.py
+++ b/config/config.py
@@ -50,7 +50,15 @@ DEFAULTS = {'params_file' : 'params.py',
50SCHED_EVENTS = range(501, 513) 50SCHED_EVENTS = range(501, 513)
51 51
52'''Overhead events.''' 52'''Overhead events.'''
53OVH_BASE_EVENTS = ['SCHED', 'RELEASE', 'SCHED2', 'TICK', 'CXS', 'LOCK', 'UNLOCK'] 53OVH_BASE_EVENTS = ['SCHED', 'RELEASE', 'SCHED2', 'TICK', 'CXS',
54 'SEND_RESCHED', 'LOCK', 'UNLOCK']
55
56'''Mixed-criticality overheads.'''
57MC_EVENTS = ['LVL{}_SCHED', 'LVL{}_RELEASE']
58MC_LEVELS = ['A', 'B', 'C']
59OVH_BASE_EVENTS += [s.format(l) for (l,s) in
60 itertools.product(MC_LEVELS, MC_EVENTS)]
61
54OVH_ALL_EVENTS = ["%s_%s" % (e, t) for (e,t) in 62OVH_ALL_EVENTS = ["%s_%s" % (e, t) for (e,t) in
55 itertools.product(OVH_BASE_EVENTS, ["START","END"])] 63 itertools.product(OVH_BASE_EVENTS, ["START","END"])]
56OVH_ALL_EVENTS += ['RELEASE_LATENCY'] 64OVH_ALL_EVENTS += ['RELEASE_LATENCY']
@@ -60,3 +68,6 @@ OVH_BASE_EVENTS += ['RELEASE_LATENCY']
60# If a task is missing more than this many records, its measurements 68# If a task is missing more than this many records, its measurements
61# are not included in sched_trace summaries 69# are not included in sched_trace summaries
62MAX_RECORD_LOSS = .2 70MAX_RECORD_LOSS = .2
71
72# Number of pages needed for each color before experiments are run
73PAGES_PER_COLOR = 1024