Searched refs:cfg_n_connections (Results 1 – 2 of 2) sorted by relevance
62 static int cfg_n_connections = 30; variable239 if (total_n_bev_checks >= .8 * ((double)cfg_duration / cfg_tick_msec) * cfg_n_connections) { in check_bucket_levels_cb()412 expected_avg_persec = cfg_grouplimit / cfg_n_connections; in test_ratelimiting()428 bevs = calloc(cfg_n_connections, sizeof(struct bufferevent *)); in test_ratelimiting()429 states = calloc(cfg_n_connections, sizeof(struct client_state)); in test_ratelimiting()431 for (i = 0; i < cfg_n_connections; ++i) { in test_ratelimiting()466 for (i = 0; i < cfg_n_connections; ++i) { in test_ratelimiting()510 for (i=0; i < cfg_n_connections; ++i) { in test_ratelimiting()532 (((double)total_received)/cfg_duration)/cfg_n_connections); in test_ratelimiting()534 double diff = expected_avg_persec - (((double)total_received)/cfg_duration)/cfg_n_connections; in test_ratelimiting()[all …]