diff options
author | Glenn Elliott <gelliott@cs.unc.edu> | 2014-01-13 14:34:04 -0500 |
---|---|---|
committer | Glenn Elliott <gelliott@cs.unc.edu> | 2014-01-13 14:34:04 -0500 |
commit | a77f27b5aa681244938d8aea6e1b7bf36b978c22 (patch) | |
tree | 9183b088fff77e650c5f7bff9b27a7b7cadf2cdb | |
parent | 57d87fed3fafd55ae34ddd35cfbeea8fb9c0d26e (diff) |
Trace only sched events needed for PGM r.t.
-rw-r--r-- | config/config.py | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/config/config.py b/config/config.py index cfdfb05..976974a 100644 --- a/config/config.py +++ b/config/config.py | |||
@@ -47,7 +47,21 @@ DEFAULTS = {'duration' : 10, | |||
47 | 47 | ||
48 | 48 | ||
49 | '''Default sched_trace events (this is all of them).''' | 49 | '''Default sched_trace events (this is all of them).''' |
50 | SCHED_EVENTS = range(501, 513) | 50 | #SCHED_EVENTS = range(501, 513) |
51 | '''Minimum sched_trace events for response time analysis of PGM graphs.''' | ||
52 | # task name - 501 | ||
53 | # task param - 502 | ||
54 | # release - 503 | ||
55 | # switch to - 504 | ||
56 | # switch from - 505 | ||
57 | # job completion - 506 | ||
58 | # block - 507 | ||
59 | # resume - 508 | ||
60 | # action - 509 | ||
61 | # sys release - 510 | ||
62 | # pgm param - 511 | ||
63 | # pgm release - 512 | ||
64 | SCHED_EVENTS = [501, 502, 503, 506, 510, 511, 512] | ||
51 | 65 | ||
52 | '''Overhead events.''' | 66 | '''Overhead events.''' |
53 | OVH_BASE_EVENTS = ['SCHED', 'RELEASE', 'SCHED2', 'TICK', 'CXS', 'LOCK', 'UNLOCK'] | 67 | OVH_BASE_EVENTS = ['SCHED', 'RELEASE', 'SCHED2', 'TICK', 'CXS', 'LOCK', 'UNLOCK'] |