Home
last modified time | relevance | path

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

/llvm-project/llvm/tools/llvm-profgen/
H A DPerfReader.h150 struct PerfSample { struct
157 virtual ~PerfSample() = default; argument
174 bool isEqual(const PerfSample *Other) const { in isEqual() argument
209 std::unordered_map<Hashable<PerfSample>, uint64_t, argument
210 Hashable<PerfSample>::Hash, Hashable<PerfSample>::Equal>;
269 UnwindState(const PerfSample *Sample, const ProfiledBinary *Binary) in UnwindState()
478 bool unwind(const PerfSample *Sample, uint64_t Repeat);
660 void computeCounterFromLBR(const PerfSample *Sample, uint64_t Repeat);
H A DPerfReader.cpp282 bool VirtualUnwinder::unwind(const PerfSample *Sample, uint64_t Repeat) { in unwind()
538 const PerfSample *Sample = Item.first.getPtr(); in unwindSamples()
739 std::shared_ptr<PerfSample> Sample = std::make_shared<PerfSample>(); in parseSample()
743 // Parsing call stack and populate into PerfSample.CallStack in parseSample()
754 // Parsing LBR stack and populate into PerfSample.LBRStack
764 AggregatedSamples[Hashable<PerfSample>(Sample)] += Count;
918 void PerfScriptReader::computeCounterFromLBR(const PerfSample *Sample, in computeCounterFromLBR()
945 std::shared_ptr<PerfSample> Sample = std::make_shared<PerfSample>(); in generateUnsymbolizedProfile()
[all...]