Home
last modified time | relevance | path

Searched refs:SampleTree (Results 1 – 4 of 4) sorted by relevance

/system/extras/simpleperf/
Dsample_tree.cpp23 void SampleTree::SetFilters(const std::unordered_set<int>& pid_filter, in SetFilters()
33 SampleEntry* SampleTree::AddSample(int pid, int tid, uint64_t ip, uint64_t time, uint64_t period, in AddSample()
47 void SampleTree::AddBranchSample(int pid, int tid, uint64_t from_ip, uint64_t to_ip, in AddBranchSample()
73 SampleEntry* SampleTree::AddCallChainSample(int pid, int tid, uint64_t ip, uint64_t time, in AddCallChainSample()
104 bool SampleTree::IsFilteredOut(const SampleEntry& value) { in IsFilteredOut()
120 SampleEntry* SampleTree::InsertSample(SampleEntry& value) { in InsertSample()
138 SampleEntry* SampleTree::AllocateSample(SampleEntry& value) { in AllocateSample()
144 void SampleTree::InsertCallChainForSample(SampleEntry* sample, in InsertCallChainForSample()
150 void SampleTree::VisitAllSamples(std::function<void(const SampleEntry&)> callback) { in VisitAllSamples()
Dsample_tree_test.cpp72 void VisitSampleTree(SampleTree* sample_tree, in VisitSampleTree()
91 sample_tree = std::unique_ptr<SampleTree>(new SampleTree(&thread_tree, CompareSampleFunction)); in SetUp()
99 std::unique_ptr<SampleTree> sample_tree;
171 SampleTree sample_tree(&thread_tree, CompareSampleFunction); in TEST()
Dsample_tree.h75 class SampleTree {
77 SampleTree(ThreadTree* thread_tree, compare_sample_func_t sample_compare_function) in SampleTree() function
Dcmd_report.cpp72 AccumulatedOverheadItem(const SampleTree& sample_tree) in AccumulatedOverheadItem()
84 const SampleTree& sample_tree_;
89 SelfOverheadItem(const SampleTree& sample_tree, const std::string& name = "Self") in SelfOverheadItem()
101 const SampleTree& sample_tree_;
282 std::unique_ptr<SampleTree>(new SampleTree(&thread_tree_, compare_sample_callback)); in ReportCommand()
312 std::unique_ptr<SampleTree> sample_tree_;