From 3754940bf865349a583fce2ad48acd9e31c8f3bb Mon Sep 17 00:00:00 2001 From: "Bjoern B. Brandenburg" Date: Mon, 24 Jan 2011 12:47:11 -0500 Subject: abuse --wide in semi-part wsched plots Shift to the large WSS range if --wide is provided. --- plot.py | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'plot.py') diff --git a/plot.py b/plot.py index 5f0df59..353ae75 100755 --- a/plot.py +++ b/plot.py @@ -594,11 +594,18 @@ class SchedPlotter(defapp.App): xcol = 1 p.xlabel = "working set size (WSS)" p.ylabel = "weighted schedulability" - p.xticks = (0, 64) - p.xrange = (-1, 1025) - if self.options.alternate: + if self.options.wide: + # tail plot WSS > 1024 + p.xticks = (0, 256) + p.xrange = (1023, 3073) + elif self.options.alternate: + # NPS-F comparison p.xrange = (-1, 257) p.xticks = (0, 32) + else: + # regular plot + p.xticks = (0, 64) + p.xrange = (-1, 1025) else: self.err("What kind of semipart experiment is this?") return -- cgit v1.2.2