Lines Matching full:average
84 # Let's plot the average value for all the traces
86 global_avg = average(global_disk_perf)
87 compare_raw.write("plot %s w l ls 1 ti 'Global average value (%.2f)'" % (global_avg,global_avg));
88 …compare_smooth.write("plot %s w l ls 1 ti 'Global average value (%.2f)'" % (global_avg,global_avg)…
89 …compare_trend.write("plot %s w l ls 1 ti 'Global average value (%.2f)'" % (global_avg,global_avg));
107 avg = average(disk_perf[pos])
119 def generate_gnuplot_math_script(title,gnuplot_output_filename,mode,average,gnuplot_output_dir,gpm_… argument
123 …\'%s\' \'%s\' %s\n" % (gpm_dir,title,gnuplot_output_filename,gnuplot_output_filename,mode,average))
149 def average(s): return sum(s) * 1.0 / len(s) function
231 average_file=open(gnuplot_output_dir+gnuplot_output_filename+'.average', 'w')
236 temporary_files.append(gnuplot_output_dir+gnuplot_output_filename+'.average')
252 avg = average(disk_perf[disk])
254 standard_deviation = math.sqrt(average(variance))
266 avg = average(global_disk_perf)
268 standard_deviation = math.sqrt(average(variance))
288 …generate_gnuplot_math_script("Average values of "+title,gnuplot_output_filename+'.average',mode,in…
289 …generate_gnuplot_math_script("Min values of "+title,gnuplot_output_filename+'.min',mode,average(gl…
290 …generate_gnuplot_math_script("Max values of "+title,gnuplot_output_filename+'.max',mode,average(gl…