Core-local statistics
authorAndrew Kryczka <andrewkr@fb.com>
Tue, 23 May 2017 17:29:14 +0000 (10:29 -0700)
committerBernd Zeimetz <bzed@debian.org>
Fri, 5 Apr 2019 13:12:52 +0000 (14:12 +0100)
commit81b518f04e3cbba9b72c95f9d00719d8e55bedd2
treeaa6201b57e8924f6715766e0dc38eeb30cc2cf05
parente831397b1dd53bc8d6c52d95271e19eb50450166
Core-local statistics

Summary:
This diff changes `StatisticsImpl` from a thread-local approach to a core-local one. The goal is to perform faster aggregations, particularly for applications that have many threads. There should be no behavior change.
Closes https://github.com/facebook/rocksdb/pull/2258

Differential Revision: D5016258

Pulled By: ajkr

fbshipit-source-id: 7d4d165b4a91d8110f0409d113d1be91f22d31a9
(cherry picked from commit ac39d6bec5b2c23a2c3fd0f0e61d468be4f3e803)

Gbp-Pq: Name 0003-Core-local-statistics.patch
src/rocksdb/HISTORY.md
src/rocksdb/monitoring/statistics.cc
src/rocksdb/monitoring/statistics.h
src/rocksdb/util/core_local.h