diff options
author | Jonathan Herman <hermanjl@cs.unc.edu> | 2013-04-25 16:43:49 -0400 |
---|---|---|
committer | Jonathan Herman <hermanjl@cs.unc.edu> | 2013-04-25 16:43:49 -0400 |
commit | 15f231a79320cbc97cd88d8a4751515a47ce223e (patch) | |
tree | b86b202cadc816a5da7b96372b9de4362da88116 /config/config.py | |
parent | 2ceaa6c607ef85bde4f14017634d9d1621efca29 (diff) |
Bug fixes from testing.
Diffstat (limited to 'config/config.py')
-rw-r--r-- | config/config.py | 13 |
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', | |||
50 | SCHED_EVENTS = range(501, 513) | 50 | SCHED_EVENTS = range(501, 513) |
51 | 51 | ||
52 | '''Overhead events.''' | 52 | '''Overhead events.''' |
53 | OVH_BASE_EVENTS = ['SCHED', 'RELEASE', 'SCHED2', 'TICK', 'CXS', 'LOCK', 'UNLOCK'] | 53 | OVH_BASE_EVENTS = ['SCHED', 'RELEASE', 'SCHED2', 'TICK', 'CXS', |
54 | 'SEND_RESCHED', 'LOCK', 'UNLOCK'] | ||
55 | |||
56 | '''Mixed-criticality overheads.''' | ||
57 | MC_EVENTS = ['LVL{}_SCHED', 'LVL{}_RELEASE'] | ||
58 | MC_LEVELS = ['A', 'B', 'C'] | ||
59 | OVH_BASE_EVENTS += [s.format(l) for (l,s) in | ||
60 | itertools.product(MC_LEVELS, MC_EVENTS)] | ||
61 | |||
54 | OVH_ALL_EVENTS = ["%s_%s" % (e, t) for (e,t) in | 62 | OVH_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"])] |
56 | OVH_ALL_EVENTS += ['RELEASE_LATENCY'] | 64 | OVH_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 |
62 | MAX_RECORD_LOSS = .2 | 70 | MAX_RECORD_LOSS = .2 |
71 | |||
72 | # Number of pages needed for each color before experiments are run | ||
73 | PAGES_PER_COLOR = 1024 | ||