diff options
author | Björn B. Brandenburg <bbb@cs.unc.edu> | 2010-06-10 21:16:51 -0400 |
---|---|---|
committer | Björn B. Brandenburg <bbb@cs.unc.edu> | 2010-06-10 21:16:51 -0400 |
commit | 58a0ab886ec6a9647a8ee4f5639d21ef8e7bbed8 (patch) | |
tree | 37e9b5d8e5b0f7f7c8482a5b46b7c7e3a6877e60 | |
parent | 9e05cc4a954381f0c35c765daaccd8cd93fda74c (diff) |
support --smooth option in RTSS'08 style
-rwxr-xr-x | plot.py | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -382,6 +382,9 @@ class SchedPlotter(defapp.App): | |||
382 | p.xlabel = "ucap (prior to inflation)" | 382 | p.xlabel = "ucap (prior to inflation)" |
383 | p.default_style = 'lines lw 6' | 383 | p.default_style = 'lines lw 6' |
384 | 384 | ||
385 | if self.options.smooth: | ||
386 | p.default_style += " smooth bezier" | ||
387 | |||
385 | p.ylabel = "schedulability " + (' [soft]' if 'soft' in conf else ' [hard]') | 388 | p.ylabel = "schedulability " + (' [soft]' if 'soft' in conf else ' [hard]') |
386 | if self.options.alternate: | 389 | if self.options.alternate: |
387 | p.xrange = (0.5, 32.5) | 390 | p.xrange = (0.5, 32.5) |