Lines Matching refs:latency
45 unsigned buffer = 0, mtu = 0, mpu = 0, latency = 0; in tbf_parse_opt() local
59 if (latency) { in tbf_parse_opt()
70 if (latency) { in tbf_parse_opt()
78 if (get_time(&latency, *argv)) { in tbf_parse_opt()
191 if (opt.limit == 0 && latency == 0) { in tbf_parse_opt()
205 double lim = rate64*(double)latency/TIME_UNITS_PER_SEC + buffer; in tbf_parse_opt()
208 double lim2 = prate64*(double)latency/TIME_UNITS_PER_SEC + mtu; in tbf_parse_opt()
257 double latency; in tbf_print_opt() local
308 latency = TIME_UNITS_PER_SEC*(qopt->limit/(double)rate64) - tc_core_tick2time(qopt->buffer); in tbf_print_opt()
312 if (lat2 > latency) in tbf_print_opt()
313 latency = lat2; in tbf_print_opt()
315 if (latency >= 0.0) in tbf_print_opt()
316 fprintf(f, "lat %s ", sprint_time(latency, b1)); in tbf_print_opt()
317 if (show_raw || latency < 0.0) in tbf_print_opt()