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-01-11 16:54:12 -08:00
2016-12-05 17:39:17 -08:00
2016-08-19 12:28:19 -07:00
2016-08-19 12:28:19 -07:00
2017-02-13 11:09:13 -08:00
2017-02-13 11:09:13 -08:00
2017-02-06 14:54:18 -08:00
2017-02-06 14:54:18 -08:00
2017-02-06 14:54:18 -08:00
2017-02-06 14:54:18 -08:00
2016-09-13 12:08:22 -07:00
2016-05-06 17:42:50 -07:00
2016-12-22 13:09:19 -08:00
2016-12-01 10:09:22 -08:00
2016-03-11 22:56:25 -08:00
2017-02-23 11:25:36 -08:00
2017-02-23 11:25:36 -08:00
2016-11-09 15:09:18 -08:00
2016-12-22 13:09:19 -08:00
2016-12-22 13:09:19 -08:00
2016-12-22 13:09:19 -08:00
2016-12-14 19:24:25 -08:00
2016-02-17 20:22:40 +08:00
2016-10-29 16:09:18 -07:00
2016-12-13 18:39:14 -08:00
2016-06-10 16:37:36 -07:00
2017-01-23 12:54:13 -08:00
2017-01-03 18:39:14 -08:00
2016-04-01 11:06:06 -07:00
2017-02-06 14:54:18 -08:00
2017-02-06 14:54:18 -08:00