Lines Matching refs:disk
246 for disk in xrange(len(fio_data_file)):
248 min_file.write("# Disk%d was coming from %s\n" % (disk,fio_data_file[disk]))
249 max_file.write("# Disk%d was coming from %s\n" % (disk,fio_data_file[disk]))
250 average_file.write("# Disk%d was coming from %s\n" % (disk,fio_data_file[disk]))
251 stddev_file.write("# Disk%d was coming from %s\n" % (disk,fio_data_file[disk]))
252 avg = average(disk_perf[disk])
253 variance = map(lambda x: (x - avg)**2, disk_perf[disk])
256 average_file.write('%d %d\n' % (disk, avg))
257 stddev_file.write('%d %d\n' % (disk, standard_deviation))
258 local_min=min(disk_perf[disk])
259 local_max=max(disk_perf[disk])
260 min_file.write('%d %d\n' % (disk, local_min))
261 max_file.write('%d %d\n' % (disk, local_max))