From 0f7daf5fb4e85ee6d91cfc4e886236d65c441aea Mon Sep 17 00:00:00 2001 From: sdong Date: Tue, 15 Apr 2014 20:20:01 -0700 Subject: [PATCH] Miss one file from previous cherry-pick Summary: Test Plan: Reviewers: CC: Task ID: # Blame Rev: --- table/block_based_table_reader.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/table/block_based_table_reader.cc b/table/block_based_table_reader.cc index f686239cb..02705aa90 100644 --- a/table/block_based_table_reader.cc +++ b/table/block_based_table_reader.cc @@ -108,7 +108,7 @@ Cache::Handle* GetEntryFromCache(Cache* block_cache, const Slice& key, Statistics* statistics) { auto cache_handle = block_cache->Lookup(key); if (cache_handle != nullptr) { - PERF_COUNTER_ADD(block_cache_hit_count, 1); + BumpPerfCount(&perf_context.block_cache_hit_count); // overall cache hit RecordTick(statistics, BLOCK_CACHE_HIT); // block-type specific cache hit