Lines Matching defs:ProfiledFrame
232 struct ProfiledFrame { struct
233 const uint64_t Address = DummyRoot;
234 ProfiledFrame *Parent;
235 SampleVector RangeSamples;
236 SampleVector BranchSamples;
237 std::unordered_map<uint64_t, std::unique_ptr<ProfiledFrame>> Children;
240 : Address(Addr), Parent(P) {} in Address()
241 ProfiledFrame *getOrCreateChildFrame(uint64_t Address) { in getOrCreateChildFrame()
247 void recordRangeCount(uint64_t Start, uint64_t End, uint64_t Count) { in recordRangeCount()
250 void recordBranchCount(uint64_t Source, uint64_t Target, uint64_t Count) { in recordBranchCount()
253 bool isDummyRoot() { return Address == DummyRoot; } in isDummyRoot()
254 bool isExternalFrame() { return Address == ExternalAddr; } in isExternalFrame()
255 bool isLeafFrame() { return Children.empty(); } in isLeafFrame()