Searched refs:num_measurements (Results 1 – 2 of 2) sorted by relevance
566 uint8_t num_measurements; /* Number of measurements (up to 0xff, we freeze at 0xff) */ member
2416 if (rack->r_ctl.num_measurements >= RACK_REQ_AVG) { in rack_get_gp_est()2421 bw = rack->r_ctl.gp_bw / max(rack->r_ctl.num_measurements, 1); in rack_get_gp_est()5055 rack->r_ctl.num_measurements = 1; in rack_do_goodput_measurement()5077 } else if (rack->r_ctl.num_measurements < RACK_REQ_AVG) { in rack_do_goodput_measurement()5080 addpart = rack->r_ctl.num_measurements; in rack_do_goodput_measurement()5081 rack->r_ctl.num_measurements++; in rack_do_goodput_measurement()5082 if (rack->r_ctl.num_measurements >= RACK_REQ_AVG) { in rack_do_goodput_measurement()5084 rack->r_ctl.gp_bw /= (uint64_t)rack->r_ctl.num_measurements; in rack_do_goodput_measurement()5103 if (rack->r_ctl.num_measurements < 0xff) { in rack_do_goodput_measurement()5104 rack->r_ctl.num_measurements++; in rack_do_goodput_measurement()[all …]