Lines Matching defs:io_u_dist
296 void stat_calc_dist(unsigned int *map, unsigned long total, double *io_u_dist)
305 io_u_dist[i] = (double) map[i] / (double) total;
306 io_u_dist[i] *= 100.0;
307 if (io_u_dist[i] < 0.1 && map[i])
308 io_u_dist[i] = 0.1;
310 io_u_dist[i] = 0.0;
505 double io_u_dist[FIO_IO_U_MAP_NR];
555 stat_calc_dist(ts->io_u_map, ddir_rw_sum(ts->total_io_u), io_u_dist);
557 " 16=%3.1f%%, 32=%3.1f%%, >=64=%3.1f%%\n", io_u_dist[0],
558 io_u_dist[1], io_u_dist[2],
559 io_u_dist[3], io_u_dist[4],
560 io_u_dist[5], io_u_dist[6]);
562 stat_calc_dist(ts->io_u_submit, ts->total_submit, io_u_dist);
564 " 32=%3.1f%%, 64=%3.1f%%, >=64=%3.1f%%\n", io_u_dist[0],
565 io_u_dist[1], io_u_dist[2],
566 io_u_dist[3], io_u_dist[4],
567 io_u_dist[5], io_u_dist[6]);
568 stat_calc_dist(ts->io_u_complete, ts->total_complete, io_u_dist);
570 " 32=%3.1f%%, 64=%3.1f%%, >=64=%3.1f%%\n", io_u_dist[0],
571 io_u_dist[1], io_u_dist[2],
572 io_u_dist[3], io_u_dist[4],
573 io_u_dist[5], io_u_dist[6]);
787 double io_u_dist[FIO_IO_U_MAP_NR];
819 stat_calc_dist(ts->io_u_map, ddir_rw_sum(ts->total_io_u), io_u_dist);
825 io_u_dist[0], io_u_dist[1], io_u_dist[2], io_u_dist[3],
826 io_u_dist[4], io_u_dist[5], io_u_dist[6]);
849 double io_u_dist[FIO_IO_U_MAP_NR];
883 stat_calc_dist(ts->io_u_map, ddir_rw_sum(ts->total_io_u), io_u_dist);
889 io_u_dist[0], io_u_dist[1], io_u_dist[2], io_u_dist[3],
890 io_u_dist[4], io_u_dist[5], io_u_dist[6]);
917 double io_u_dist[FIO_IO_U_MAP_NR];
950 stat_calc_dist(ts->io_u_map, ddir_rw_sum(ts->total_io_u), io_u_dist);
963 json_object_add_value_float(tmp, (const char *)name, io_u_dist[i]);