aboutsummaryrefslogtreecommitdiffstats
path: root/plot_ohead.py
diff options
context:
space:
mode:
authorBjoern B. Brandenburg <bbb@cs.unc.edu>2009-05-07 13:34:15 -0400
committerBjoern B. Brandenburg <bbb@cs.unc.edu>2009-05-07 13:34:15 -0400
commitd34c30862c4a72974f51cc1f4bc0c374bf828aa4 (patch)
tree995d3ec7397324813d948a5238dbd6e28370011b /plot_ohead.py
parent31eda2bbea3ea0322a5753dd5cc7beadf90c6a4e (diff)
show graphs per plugin
Diffstat (limited to 'plot_ohead.py')
-rwxr-xr-xplot_ohead.py17
1 files changed, 15 insertions, 2 deletions
diff --git a/plot_ohead.py b/plot_ohead.py
index 89afc7d..974832b 100755
--- a/plot_ohead.py
+++ b/plot_ohead.py
@@ -21,5 +21,18 @@ def by_event(wc):
21 gs += [graph(p, m, e, wc)] 21 gs += [graph(p, m, e, wc)]
22 gnuplot(gs, title='%s %s' % (e, 'WC' if wc else 'AVG')) 22 gnuplot(gs, title='%s %s' % (e, 'WC' if wc else 'AVG'))
23 23
24by_event(True) 24def by_plugin(wc):
25by_event(False) 25 for p in plugins:
26 gs = []
27 for e in events:
28 for m in master:
29 if (p != 'GHQ-EDF' or m == 'NO_CPU') and \
30 (p != 'GQ-EDF' or e != 'SEND_RESCHED'):
31 gs += [graph(p, m, e, wc)]
32 gnuplot(gs, title='%s %s' % (p, 'WC' if wc else 'AVG'))
33
34#by_event(True)
35#by_event(False)
36
37by_plugin(True)
38by_plugin(False)