Home
last modified time | relevance | path

Searched refs:cache_stat_ (Results 1 – 2 of 2) sorted by relevance

/system/extras/simpleperf/
DCallChainJoiner.cpp29 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()
[all …]
DCallChainJoiner.h76 return cache_stat_; in Stat()
132 LRUCacheStat cache_stat_; variable
175 return cache_stat_; in GetCacheStat()
184 call_chain_joiner_impl::LRUCacheStat cache_stat_; variable