rocksdb/monitoring
Andrew Kryczka b1845f43e7 Add user stats Reset API
Summary:
It resets all the ticker and histogram stats to zero. Needed to change the locking a bit since Reset() is the only operation that manipulates multiple tickers/histograms together, and that operation should be seen as atomic by other operations that access tickers/histograms.
Closes https://github.com/facebook/rocksdb/pull/2213

Differential Revision: D4952232

Pulled By: ajkr

fbshipit-source-id: c0475c3e4c7b940120d53891b69c3091149a0679
2017-08-21 16:41:10 -07:00
..
histogram_test.cc Change RocksDB License 2017-07-20 17:20:44 -07:00
histogram_windowing.cc Change RocksDB License 2017-07-20 17:20:44 -07:00
histogram_windowing.h Change RocksDB License 2017-07-20 17:20:44 -07:00
histogram.cc Change RocksDB License 2017-07-20 17:20:44 -07:00
histogram.h Change RocksDB License 2017-07-20 17:20:44 -07:00
instrumented_mutex.cc Change RocksDB License 2017-07-20 17:20:44 -07:00
instrumented_mutex.h Change RocksDB License 2017-07-20 17:20:44 -07:00
iostats_context_imp.h Change RocksDB License 2017-07-20 17:20:44 -07:00
iostats_context_test.cc Change RocksDB License 2017-07-20 17:20:44 -07:00
iostats_context.cc Change RocksDB License 2017-07-20 17:20:44 -07:00
perf_context_imp.h Change RocksDB License 2017-07-20 17:20:44 -07:00
perf_context.cc Change RocksDB License 2017-07-20 17:20:44 -07:00
perf_level_imp.h Change RocksDB License 2017-07-20 17:20:44 -07:00
perf_level.cc Change RocksDB License 2017-07-20 17:20:44 -07:00
perf_step_timer.h Change RocksDB License 2017-07-20 17:20:44 -07:00
statistics_test.cc Change RocksDB License 2017-07-20 17:20:44 -07:00
statistics.cc Add user stats Reset API 2017-08-21 16:41:10 -07:00
statistics.h Add user stats Reset API 2017-08-21 16:41:10 -07:00
thread_status_impl.cc Change RocksDB License 2017-07-20 17:20:44 -07:00
thread_status_updater_debug.cc Change RocksDB License 2017-07-20 17:20:44 -07:00
thread_status_updater.cc Change RocksDB License 2017-07-20 17:20:44 -07:00
thread_status_updater.h Change RocksDB License 2017-07-20 17:20:44 -07:00
thread_status_util_debug.cc Change RocksDB License 2017-07-20 17:20:44 -07:00
thread_status_util.cc Change RocksDB License 2017-07-20 17:20:44 -07:00
thread_status_util.h Change RocksDB License 2017-07-20 17:20:44 -07:00