rocksdb/utilities
Andrew Kryczka 7c80a6d7d1 Statistic for how often rate limiter is drained
Summary:
This is the metric I plan to use for adaptive rate limiting. The statistics are updated only if the rate limiter is drained by flush or compaction. I believe (but am not certain) that this is the normal case.

The Statistics object is passed in RateLimiter::Request() to avoid requiring changes to client code, which would've been necessary if we passed it in the RateLimiter constructor.
Closes https://github.com/facebook/rocksdb/pull/1946

Differential Revision: D4646489

Pulled By: ajkr

fbshipit-source-id: d8e0161
2017-03-02 17:54:15 -08:00
..
2017-02-23 12:09:11 -08:00
2017-01-08 14:24:12 -08:00
2017-02-13 11:09:13 -08:00
2017-02-06 14:54:18 -08:00
2017-01-08 14:24:12 -08:00
2015-12-10 21:32:45 -05:00
2016-12-22 13:09:19 -08:00