diff options
author | Bjoern B. Brandenburg <bbb@cs.unc.edu> | 2011-01-24 12:47:11 -0500 |
---|---|---|
committer | Bjoern B. Brandenburg <bbb@cs.unc.edu> | 2011-01-24 12:47:11 -0500 |
commit | 3754940bf865349a583fce2ad48acd9e31c8f3bb (patch) | |
tree | d3688cadaa9dd593cde41ffa2148b58241389c8b /plot.py | |
parent | d2c2d0ca0083639df1562bda414d69e207b0d9be (diff) |
abuse --wide in semi-part wsched plots
Shift to the large WSS range if --wide is provided.
Diffstat (limited to 'plot.py')
-rwxr-xr-x | plot.py | 13 |
1 files changed, 10 insertions, 3 deletions
@@ -594,11 +594,18 @@ class SchedPlotter(defapp.App): | |||
594 | xcol = 1 | 594 | xcol = 1 |
595 | p.xlabel = "working set size (WSS)" | 595 | p.xlabel = "working set size (WSS)" |
596 | p.ylabel = "weighted schedulability" | 596 | p.ylabel = "weighted schedulability" |
597 | p.xticks = (0, 64) | 597 | if self.options.wide: |
598 | p.xrange = (-1, 1025) | 598 | # tail plot WSS > 1024 |
599 | if self.options.alternate: | 599 | p.xticks = (0, 256) |
600 | p.xrange = (1023, 3073) | ||
601 | elif self.options.alternate: | ||
602 | # NPS-F comparison | ||
600 | p.xrange = (-1, 257) | 603 | p.xrange = (-1, 257) |
601 | p.xticks = (0, 32) | 604 | p.xticks = (0, 32) |
605 | else: | ||
606 | # regular plot | ||
607 | p.xticks = (0, 64) | ||
608 | p.xrange = (-1, 1025) | ||
602 | else: | 609 | else: |
603 | self.err("What kind of semipart experiment is this?") | 610 | self.err("What kind of semipart experiment is this?") |
604 | return | 611 | return |