Lines Matching refs:p_of_agg
411 double p_of_agg = 100.0, fkb_base = (double)rs->kb_base; in show_ddir_status() local
422 p_of_agg = mean * 100 / (double) rs->agg[ddir]; in show_ddir_status()
423 if (p_of_agg > 100.0) in show_ddir_status()
424 p_of_agg = 100.0; in show_ddir_status()
437 p_of_agg, mean, dev); in show_ddir_status()
660 double p_of_agg = 100.0; in show_ddir_status_terse() local
663 p_of_agg = mean * 100 / (double) rs->agg[ddir]; in show_ddir_status_terse()
664 if (p_of_agg > 100.0) in show_ddir_status_terse()
665 p_of_agg = 100.0; in show_ddir_status_terse()
668 log_info(";%lu;%lu;%f%%;%f;%f", min, max, p_of_agg, mean, dev); in show_ddir_status_terse()
685 double p_of_agg = 100.0; in add_ddir_status_json() local
769 p_of_agg = mean * 100 / (double) rs->agg[ddir]; in add_ddir_status_json()
770 if (p_of_agg > 100.0) in add_ddir_status_json()
771 p_of_agg = 100.0; in add_ddir_status_json()
775 p_of_agg = mean = dev = 0.0; in add_ddir_status_json()
779 json_object_add_value_float(dir_object, "bw_agg", p_of_agg); in add_ddir_status_json()