Home
last modified time | relevance | path

Searched defs:AutoFDOBinaryInfo (Results 1 – 1 of 1) sorted by relevance

/aosp_15_r20/system/extras/simpleperf/
H A Dcmd_inject.cpp60 struct AutoFDOBinaryInfo { struct
61 std::vector<ElfSegment> executable_segments;
62 std::unordered_map<uint64_t, uint64_t> address_count_map;
63 std::unordered_map<AddrPair, uint64_t, AddrPairHash> range_count_map;
64 std::unordered_map<AddrPair, uint64_t, AddrPairHash> branch_count_map;
66 void AddAddress(uint64_t addr) { OverflowSafeAdd(address_count_map[addr], 1); } in AddAddress()
68 void AddRange(uint64_t begin, uint64_t end) { in AddRange()
72 void AddBranch(uint64_t from, uint64_t to) { in AddBranch()
76 void AddInstrRange(const ETMInstrRange& instr_range) { in AddInstrRange()
87 void Merge(const AutoFDOBinaryInfo& other) { in Merge()
[all …]