tools/power/x86/intel_pstate_tracer: fix a broken y-axis scale

A fixed y-axis scale was missed during a change to autoscale.

Correct it.

Fixes: 709bd70d07 ("tools/power/x86/intel_pstate_tracer: change several graphs to autoscale y-axis")
Signed-off-by: Doug Smythies <dsmythies@telus.net>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
This commit is contained in:
Doug Smythies 2020-03-26 09:20:07 -07:00 committed by Rafael J. Wysocki
parent 16fbf79b0f
commit 2f6bdb05e0

View File

@ -235,7 +235,6 @@ def plot_duration_cpu():
output_png = 'all_cpu_durations.png' output_png = 'all_cpu_durations.png'
g_plot = common_all_gnuplot_settings(output_png) g_plot = common_all_gnuplot_settings(output_png)
# autoscale this one, no set y range # autoscale this one, no set y range
g_plot('set ytics 0, 500')
g_plot('set ylabel "Timer Duration (MilliSeconds)"') g_plot('set ylabel "Timer Duration (MilliSeconds)"')
g_plot('set title "{} : cpu durations : {:%F %H:%M}"'.format(testname, datetime.now())) g_plot('set title "{} : cpu durations : {:%F %H:%M}"'.format(testname, datetime.now()))