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

  /external/libevent/
ratelim-internal.h 50 size_t read_rate; member in struct:ev_token_bucket_cfg
bufferevent_ratelim.c 65 bucket->read_limit = cfg->read_rate;
95 if ((cfg->read_maximum - bucket->read_limit) / n_ticks < cfg->read_rate)
98 bucket->read_limit += n_ticks * cfg->read_rate;
142 ev_token_bucket_cfg_new(size_t read_rate, size_t read_burst,
153 if (read_rate > read_burst || write_rate > write_burst ||
154 read_rate < 1 || write_rate < 1)
156 if (read_rate > EV_RATE_LIMIT_MAX ||
164 r->read_rate = read_rate;
711 if (share > g->rate_limit_cfg.read_rate)
    [all...]
  /external/libevent/include/event2/
bufferevent.h 619 @param read_rate The maximum number of bytes to read per tick on
632 size_t read_rate, size_t read_burst,

Completed in 59 milliseconds