Searched refs:AddrPair (Results 1 – 1 of 1) sorted by relevance
/system/extras/simpleperf/ |
D | cmd_inject.cpp | 60 using AddrPair = std::pair<uint64_t, uint64_t>; typedef 63 size_t operator()(const AddrPair& ap) const noexcept { in operator ()() 77 std::unordered_map<AddrPair, uint64_t, AddrPairHash> range_count_map; 78 std::unordered_map<AddrPair, uint64_t, AddrPairHash> branch_count_map; 297 binary.range_count_map[AddrPair(instr_range.start_addr, instr_range.end_addr)] += in ProcessInstrRange() 300 binary.branch_count_map[AddrPair(instr_range.end_addr, instr_range.branch_to_addr)] += in ProcessInstrRange() 449 std::map<AddrPair, uint64_t> range_count_map(binary.range_count_map.begin(), in GenerateInstrRange() 453 const AddrPair& addr_range = pair2.first; in GenerateInstrRange() 464 std::map<AddrPair, uint64_t> branch_count_map(binary.branch_count_map.begin(), in GenerateInstrRange() 468 const AddrPair& branch = pair2.first; in GenerateInstrRange()
|