Lines Matching refs:SampleEntry
33 SampleEntry* SampleTree::AddSample(int pid, int tid, uint64_t ip, uint64_t time, uint64_t period,
39 SampleEntry value(ip, time, period, 0, 1, thread, map, symbol);
61 SampleEntry value(to_ip, time, period, 0, 1, thread, to_map, to_symbol);
73 SampleEntry* SampleTree::AddCallChainSample(int pid, int tid, uint64_t ip, uint64_t time,
75 const std::vector<SampleEntry*>& callchain) {
80 SampleEntry value(ip, time, 0, period, 0, thread, map, symbol);
83 // Store in callchain_sample_tree_ for use in other SampleEntry's callchain.
88 SampleEntry* sample = AllocateSample(value);
95 SampleEntry* sample = *it;
104 bool SampleTree::IsFilteredOut(const SampleEntry& value) {
120 SampleEntry* SampleTree::InsertSample(SampleEntry& value) {
121 SampleEntry* result;
138 SampleEntry* SampleTree::AllocateSample(SampleEntry& value) {
139 SampleEntry* sample = new SampleEntry(std::move(value));
140 sample_storage_.push_back(std::unique_ptr<SampleEntry>(sample));
144 void SampleTree::InsertCallChainForSample(SampleEntry* sample,
145 const std::vector<SampleEntry*>& callchain,
150 void SampleTree::VisitAllSamples(std::function<void(const SampleEntry&)> callback) {