Lines Matching refs:io_u_dist

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