diff options
| author | Bjoern B. Brandenburg <bbb@cs.unc.edu> | 2009-05-07 13:34:15 -0400 |
|---|---|---|
| committer | Bjoern B. Brandenburg <bbb@cs.unc.edu> | 2009-05-07 13:34:15 -0400 |
| commit | d34c30862c4a72974f51cc1f4bc0c374bf828aa4 (patch) | |
| tree | 995d3ec7397324813d948a5238dbd6e28370011b | |
| parent | 31eda2bbea3ea0322a5753dd5cc7beadf90c6a4e (diff) | |
show graphs per plugin
| -rwxr-xr-x | plot_ohead.py | 17 |
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 | ||
| 24 | by_event(True) | 24 | def by_plugin(wc): |
| 25 | by_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 | |||
| 37 | by_plugin(True) | ||
| 38 | by_plugin(False) | ||
