diff options
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 |