Lines Matching refs:cache_stat_
29 cache_stat_.cache_size = cache_size; in LRUCache()
30 cache_stat_.max_node_count = cache_size / sizeof(CacheNode); in LRUCache()
31 CHECK_GE(cache_stat_.max_node_count, 2u); in LRUCache()
33 cache_stat_.matched_node_count_to_extend_callchain = matched_node_count_to_extend_callchain; in LRUCache()
34 nodes_ = new CacheNode[cache_stat_.max_node_count + 1]; // with 1 sentinel node in LRUCache()
57 if (chain.size() < cache_stat_.matched_node_count_to_extend_callchain) { in AddCallChain()
61 for (size_t i = 1; i < cache_stat_.matched_node_count_to_extend_callchain; ++i) { in AddCallChain()
135 if (cache_stat_.used_node_count < cache_stat_.max_node_count) { in AllocNode()
136 return &nodes_[++cache_stat_.used_node_count]; in AllocNode()
146 cache_stat_.recycled_node_count++; in AllocNode()
277 cache_stat_.cache_size = cache_size; in CallChainJoiner()
278 cache_stat_.matched_node_count_to_extend_callchain = matched_node_count_to_extend_callchain; in CallChainJoiner()
331 LRUCache cache(cache_stat_.cache_size, cache_stat_.matched_node_count_to_extend_callchain); in JoinCallChains()
380 cache_stat_ = cache.Stat(); in JoinCallChains()
411 LOG(DEBUG) << " cache_size: " << cache_stat_.cache_size; in DumpStat()
413 << cache_stat_.matched_node_count_to_extend_callchain; in DumpStat()
414 LOG(DEBUG) << " max_node_count in cache: " << cache_stat_.max_node_count; in DumpStat()
415 LOG(DEBUG) << " used_node_count in cache: " << cache_stat_.used_node_count; in DumpStat()
416 LOG(DEBUG) << " recycled_node_count in cache: " << cache_stat_.recycled_node_count; in DumpStat()