Core-local statistics
authorAndrew Kryczka <andrewkr@fb.com>
Tue, 23 May 2017 17:29:14 +0000 (10:29 -0700)
committerGaudenz Steinlin <gaudenz@debian.org>
Tue, 19 Feb 2019 07:50:12 +0000 (07:50 +0000)
commit13f9ff018599fef2c990cf6fbcc6f75780378533
tree28eb095df979e7179562e5cb0f3800e70493a391
parent1fe9bbfba7a638131b3c64d5ba9410f2803994d6
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