Searched defs:CallChainRoot (Results 1 – 1 of 1) sorted by relevance
/aosp_15_r20/system/extras/simpleperf/ |
H A D | callchain.h | 41 struct CallChainRoot { struct 49 CallChainRoot() : duplicated(false), children_period(0) {} in CallChainRoot() argument 51 void AddCallChain(const std::vector<EntryT*>& callchain, uint64_t period, in AddCallChain() 94 std::sort(v->begin(), v->end(), CallChainRoot::CompareNodeByPeriod); in SortByPeriod() argument 104 NodeT* FindMatchingNode(const std::vector<std::unique_ptr<NodeT>>& nodes, const EntryT* sample, in FindMatchingNode() 114 size_t GetMatchingLengthInNode(NodeT* node, const std::vector<EntryT*>& chain, size_t chain_start, in GetMatchingLengthInNode() 125 void SplitNode(NodeT* parent, size_t parent_length) { in SplitNode() 136 std::unique_ptr<NodeT> AllocateNode(const std::vector<EntryT*>& chain, size_t chain_start, in AllocateNode() 147 static bool CompareNodeByPeriod(const std::unique_ptr<NodeT>& n1, in CompareNodeByPeriod()
|