Searched refs:cfg_duration (Results 1 – 1 of 1) sorted by relevance
59 static int cfg_duration = 5; variable223 if (total_n_bev_checks >= .8 * ((double)cfg_duration / cfg_tick_msec) * cfg_n_connections) { in check_bucket_levels_cb()357 tv.tv_sec = cfg_duration - 1; in test_ratelimiting()427 persec /= cfg_duration; in test_ratelimiting()434 ((double)total_received)/cfg_duration); in test_ratelimiting()437 ((double)total_received/cfg_duration); in test_ratelimiting()447 (((double)total_received)/cfg_duration)/cfg_n_connections); in test_ratelimiting()449 double diff = expected_avg_persec - (((double)total_received)/cfg_duration)/cfg_n_connections; in test_ratelimiting()480 { "-d", &cfg_duration, 1, 0 },