Home
last modified time | relevance | path

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

/external/libevent/test/
Dtest-ratelim.c78 struct bufferevent_rate_limit_group *ratelim_group = NULL; variable
191 if (ratelim_group) in echo_listenercb()
192 bufferevent_add_to_rate_limit_group(bev, ratelim_group); in echo_listenercb()
231 if (ratelim_group) { in check_group_bucket_levels_cb()
232 ev_ssize_t r = bufferevent_rate_limit_group_get_read_limit(ratelim_group); in check_group_bucket_levels_cb()
233 ev_ssize_t w = bufferevent_rate_limit_group_get_write_limit(ratelim_group); in check_group_bucket_levels_cb()
243 bufferevent_rate_limit_group_decrement_read(ratelim_group, cfg_group_drain); in group_drain_cb()
244 bufferevent_rate_limit_group_decrement_write(ratelim_group, cfg_group_drain); in group_drain_cb()
324 group = ratelim_group = bufferevent_rate_limit_group_new( in test_ratelimiting()
332 ratelim_group, cfg_min_share); in test_ratelimiting()
[all …]