Home
last modified time | relevance | path

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

/netbsd-src/external/bsd/libevent/dist/test/
H A Dtest-ratelim.c344 double timer_bias; in test_ratelimiting() local
354 timer_bias = timer_bias_calculate(); in test_ratelimiting()
355 if (timer_bias > 1) { in test_ratelimiting()
356 fprintf(stderr, "CPU is slow, timers bias is %f\n", timer_bias); in test_ratelimiting()
357 cfg_connlimit_tolerance *= timer_bias; in test_ratelimiting()
358 cfg_grouplimit_tolerance *= timer_bias; in test_ratelimiting()
359 cfg_stddev_tolerance *= timer_bias; in test_ratelimiting()
361 printf("CPU is fast enough, timers bias is %f\n", timer_bias); in test_ratelimiting()