Home
last modified time | relevance | path

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

/freebsd/contrib/ntp/sntp/libevent/test/
H A Dtest-ratelim.c338 double expected_total_persec = -1.0, expected_avg_persec = -1.0; in test_ratelimiting() local
411 expected_total_persec = cfg_grouplimit - (cfg_group_drain / seconds_per_tick); in test_ratelimiting()
425 if (expected_total_persec > 0) in test_ratelimiting()
426 expected_total_persec /= seconds_per_tick; in test_ratelimiting()
520 if (expected_total_persec > 0) { in test_ratelimiting()
521 double diff = expected_total_persec - in test_ratelimiting()
/freebsd/contrib/libevent/test/
H A Dtest-ratelim.c338 double expected_total_persec = -1.0, expected_avg_persec = -1.0; in test_ratelimiting() local
411 expected_total_persec = cfg_grouplimit - (cfg_group_drain / seconds_per_tick); in test_ratelimiting()
425 if (expected_total_persec > 0) in test_ratelimiting()
426 expected_total_persec /= seconds_per_tick; in test_ratelimiting()
520 if (expected_total_persec > 0) { in test_ratelimiting()
521 double diff = expected_total_persec - in test_ratelimiting()