leveldb: Tracking shared block caches in UMA.

Desktop / Chromium - Chris Mumford [chromium.org] - 12 October 2017 17:54 EDT

Reporting leveldb shared cache metrics once per UMA ping.

Bug: 750798 Change-Id: If49705f6026a3936199f5738ee406fe4e29e0338 Reviewed-on: https://chromium-review.googlesource.com/698377 Commit-Queue: Chris Mumford

a46073f leveldb: Tracking shared block caches in UMA.
chrome/browser/metrics/metrics_memory_details.cc | 2 +
third_party/leveldatabase/env_chromium.cc | 61 ++++++++++++++++++++----
third_party/leveldatabase/env_chromium.h | 20 +++++++-
third_party/leveldatabase/leveldb_chrome.cc | 30 ++++++++++++
third_party/leveldatabase/leveldb_chrome.h | 7 +++
tools/metrics/histograms/histograms.xml | 30 ++++++++++++
6 files changed, 139 insertions(+), 11 deletions(-)

Upstream: git.chromium.org


  • Share