@@ -104,7 +104,7 @@ def plot_perf_busy_with_sample(cpu_index):
104
104
if os .path .exists (file_name ):
105
105
output_png = "cpu%03d_perf_busy_vs_samples.png" % cpu_index
106
106
g_plot = common_all_gnuplot_settings (output_png )
107
- g_plot ( ' set yrange [0:40]' )
107
+ # autoscale this one, no set y1 range
108
108
g_plot ('set y2range [0:200]' )
109
109
g_plot ('set y2tics 0, 10' )
110
110
g_plot ('set title "{} : cpu perf busy vs. sample : CPU {:0>3} : {:%F %H:%M}"' .format (testname , cpu_index , datetime .now ()))
@@ -125,7 +125,7 @@ def plot_perf_busy(cpu_index):
125
125
if os .path .exists (file_name ):
126
126
output_png = "cpu%03d_perf_busy.png" % cpu_index
127
127
g_plot = common_all_gnuplot_settings (output_png )
128
- g_plot ( ' set yrange [0:40]' )
128
+ # autoscale this one, no set y1 range
129
129
g_plot ('set y2range [0:200]' )
130
130
g_plot ('set y2tics 0, 10' )
131
131
g_plot ('set title "{} : perf busy : CPU {:0>3} : {:%F %H:%M}"' .format (testname , cpu_index , datetime .now ()))
@@ -144,9 +144,7 @@ def plot_durations(cpu_index):
144
144
if os .path .exists (file_name ):
145
145
output_png = "cpu%03d_durations.png" % cpu_index
146
146
g_plot = common_all_gnuplot_settings (output_png )
147
- # Should autoscale be used here? Should seconds be used here?
148
- g_plot ('set yrange [0:5000]' )
149
- g_plot ('set ytics 0, 500' )
147
+ # autoscale this one, no set y range
150
148
g_plot ('set title "{} : durations : CPU {:0>3} : {:%F %H:%M}"' .format (testname , cpu_index , datetime .now ()))
151
149
g_plot ('set ylabel "Timer Duration (MilliSeconds)"' )
152
150
# override common
@@ -176,7 +174,7 @@ def plot_pstate_cpu_with_sample():
176
174
if os .path .exists ('cpu.csv' ):
177
175
output_png = 'all_cpu_pstates_vs_samples.png'
178
176
g_plot = common_all_gnuplot_settings (output_png )
179
- g_plot ( ' set yrange [0:40]' )
177
+ # autoscale this one, no set y range
180
178
# override common
181
179
g_plot ('set xlabel "Samples"' )
182
180
g_plot ('set ylabel "P-State"' )
@@ -191,7 +189,7 @@ def plot_pstate_cpu():
191
189
192
190
output_png = 'all_cpu_pstates.png'
193
191
g_plot = common_all_gnuplot_settings (output_png )
194
- g_plot ( ' set yrange [0:40]' )
192
+ # autoscale this one, no set y range
195
193
g_plot ('set ylabel "P-State"' )
196
194
g_plot ('set title "{} : cpu pstates : {:%F %H:%M}"' .format (testname , datetime .now ()))
197
195
@@ -222,7 +220,7 @@ def plot_frequency_cpu():
222
220
223
221
output_png = 'all_cpu_frequencies.png'
224
222
g_plot = common_all_gnuplot_settings (output_png )
225
- g_plot ( ' set yrange [0:4]' )
223
+ # autoscale this one, no set y range
226
224
g_plot ('set ylabel "CPU Frequency (GHz)"' )
227
225
g_plot ('set title "{} : cpu frequencies : {:%F %H:%M}"' .format (testname , datetime .now ()))
228
226
@@ -236,7 +234,7 @@ def plot_duration_cpu():
236
234
237
235
output_png = 'all_cpu_durations.png'
238
236
g_plot = common_all_gnuplot_settings (output_png )
239
- g_plot ( ' set yrange [0:5000]' )
237
+ # autoscale this one, no set y range
240
238
g_plot ('set ytics 0, 500' )
241
239
g_plot ('set ylabel "Timer Duration (MilliSeconds)"' )
242
240
g_plot ('set title "{} : cpu durations : {:%F %H:%M}"' .format (testname , datetime .now ()))
0 commit comments