aboutsummaryrefslogtreecommitdiffstats
path: root/plot_ecrts
diff options
context:
space:
mode:
Diffstat (limited to 'plot_ecrts')
-rwxr-xr-xplot_ecrts16
1 files changed, 8 insertions, 8 deletions
diff --git a/plot_ecrts b/plot_ecrts
index f2af270..fd76b22 100755
--- a/plot_ecrts
+++ b/plot_ecrts
@@ -74,28 +74,28 @@ function plot_file {
74 YRANGE=" --yrange -0.05 1.05 --yticks 0 0.1" 74 YRANGE=" --yrange -0.05 1.05 --yticks 0 0.1"
75 case $AXIS in 75 case $AXIS in
76 ucap) 76 ucap)
77 if [ "$SCHED" == "P-EDF" ] 77 XRANGE="--xrange 0.5 32.5 --xticks 0 2"
78 XRANGE="--xrange 0.5 22.5 --xticks 0 2"
79 if [ "$SCHED" == "G-EDF" ] && [ "$TEST" == "hard" ]
78 then 80 then
79 XRANGE="--xrange 0.5 32.5 --xticks 0 2"
80 else
81 XRANGE="--xrange 0.5 14.5 --xticks 0 1" 81 XRANGE="--xrange 0.5 14.5 --xticks 0 1"
82 fi 82 fi
83 AXIS_LABEL="task set utilization (prior to inflation)" 83 AXIS_LABEL="task set utilization (prior to inflation)"
84 ;; 84 ;;
85 res) 85 res)
86 XRANGE="--xrange 0 5.5 --xticks 0 1" 86 XRANGE="--xrange 0 5.05 --xticks 0 1"
87 AXIS_LABEL="average number of resources per task" 87 AXIS_LABEL="average number of resources per task"
88 ;; 88 ;;
89 nest) 89 nest)
90 XRANGE="--xrange 0 0.55 --xticks 0 0.1" 90 XRANGE="--xrange 0 0.505 --xticks 0 0.1"
91 AXIS_LABEL="probability of nested requests" 91 AXIS_LABEL="probability of nested requests"
92 ;; 92 ;;
93 contention) 93 contention)
94 XRANGE="--xrange 25 575 --xticks 0 50" 94 XRANGE="--xrange 45 555 --xticks 0 50"
95 AXIS_LABEL="requests per resource per second" 95 AXIS_LABEL="requests per resource per second"
96 ;; 96 ;;
97 wratio) 97 wratio)
98 XRANGE="--xrange 0 0.55 --xticks 0 0.1" 98 XRANGE="--xrange 0 0.505 --xticks 0 0.1"
99 AXIS_LABEL="ratio of write requests" 99 AXIS_LABEL="ratio of write requests"
100 ;; 100 ;;
101 *) 101 *)
@@ -106,7 +106,7 @@ function plot_file {
106 TITLE="$TEST schedulability under $SCHED with$PARAMS" 106 TITLE="$TEST schedulability under $SCHED with$PARAMS"
107 RANGE="$XRANGE $YRANGE" 107 RANGE="$XRANGE $YRANGE"
108 $PLOTTER $RANGE "$NAME" "$AXIS_LABEL" "ratio of schedulable task sets" "$TITLE" \ 108 $PLOTTER $RANGE "$NAME" "$AXIS_LABEL" "ratio of schedulable task sets" "$TITLE" \
109 $STRIPPED 1 2 "fair mutex" \ 109 $STRIPPED 1 2 "task-fair mutex" \
110 $STRIPPED 1 3 "task-fair RW" \ 110 $STRIPPED 1 3 "task-fair RW" \
111 $STRIPPED 1 4 "phase-fair RW" 111 $STRIPPED 1 4 "phase-fair RW"
112 rm $STRIPPED 112 rm $STRIPPED