From d34c30862c4a72974f51cc1f4bc0c374bf828aa4 Mon Sep 17 00:00:00 2001 From: "Bjoern B. Brandenburg" Date: Thu, 7 May 2009 13:34:15 -0400 Subject: show graphs per plugin --- plot_ohead.py | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) (limited to 'plot_ohead.py') 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): gs += [graph(p, m, e, wc)] gnuplot(gs, title='%s %s' % (e, 'WC' if wc else 'AVG')) -by_event(True) -by_event(False) +def by_plugin(wc): + for p in plugins: + gs = [] + for e in events: + for m in master: + if (p != 'GHQ-EDF' or m == 'NO_CPU') and \ + (p != 'GQ-EDF' or e != 'SEND_RESCHED'): + gs += [graph(p, m, e, wc)] + gnuplot(gs, title='%s %s' % (p, 'WC' if wc else 'AVG')) + +#by_event(True) +#by_event(False) + +by_plugin(True) +by_plugin(False) -- cgit v1.2.2