• Home
  • Raw
  • Download

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()
275 cache_stat_.cache_size = cache_size; in CallChainJoiner()
276 cache_stat_.matched_node_count_to_extend_callchain = matched_node_count_to_extend_callchain; in CallChainJoiner()
329 LRUCache cache(cache_stat_.cache_size, cache_stat_.matched_node_count_to_extend_callchain); in JoinCallChains()
377 cache_stat_ = cache.Stat(); in JoinCallChains()
407 LOG(DEBUG) << " cache_size: " << cache_stat_.cache_size; in DumpStat()
409 << cache_stat_.matched_node_count_to_extend_callchain; in DumpStat()
410 LOG(DEBUG) << " max_node_count in cache: " << cache_stat_.max_node_count; in DumpStat()
411 LOG(DEBUG) << " used_node_count in cache: " << cache_stat_.used_node_count; in DumpStat()
412 LOG(DEBUG) << " recycled_node_count in cache: " << cache_stat_.recycled_node_count; in DumpStat()