HomeSort by relevance Sort by last modified time
    Searched refs:rate_limit_cfg (Results 1 - 2 of 2) sorted by null

  /external/libevent/
bufferevent_ratelim.c 538 tick = ev_token_bucket_get_tick(&now, &g->rate_limit_cfg);
539 ev_token_bucket_update(&g->rate_limit, &g->rate_limit_cfg, tick);
651 memcpy(&g->rate_limit_cfg, cfg, sizeof(g->rate_limit_cfg));
679 &g->rate_limit_cfg.tick_timeout, &cfg->tick_timeout, ==);
680 memcpy(&g->rate_limit_cfg, cfg, sizeof(g->rate_limit_cfg));
711 if (share > g->rate_limit_cfg.read_rate)
712 share = g->rate_limit_cfg.read_rate;
713 if (share > g->rate_limit_cfg.write_rate
    [all...]
bufferevent-internal.h 71 struct ev_token_bucket_cfg rate_limit_cfg; member in struct:bufferevent_rate_limit_group

Completed in 45 milliseconds