Home
last modified time | relevance | path

Searched refs:expected_total_persec (Results 1 – 1 of 1) sorted by relevance

/external/libevent/test/
Dtest-ratelim.c264 double expected_total_persec = -1.0, expected_avg_persec = -1.0; in test_ratelimiting() local
326 expected_total_persec = cfg_grouplimit - (cfg_group_drain / seconds_per_tick); in test_ratelimiting()
340 if (expected_total_persec > 0) in test_ratelimiting()
341 expected_total_persec /= seconds_per_tick; in test_ratelimiting()
435 if (expected_total_persec > 0) { in test_ratelimiting()
436 double diff = expected_total_persec - in test_ratelimiting()