Home
last modified time | relevance | path

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

/system/extras/simpleperf/
Dcmd_inject.cpp119 static void OverflowSafeAdd(uint64_t& dest, uint64_t add) { in OverflowSafeAdd() function
133 OverflowSafeAdd(total_count, instr_range.branch_not_taken_count); in AddInstrRange()
134 OverflowSafeAdd(range_count_map[AddrPair(instr_range.start_addr, instr_range.end_addr)], in AddInstrRange()
137 OverflowSafeAdd(branch_count_map[AddrPair(instr_range.end_addr, instr_range.branch_to_addr)], in AddInstrRange()
146 OverflowSafeAdd(res.first->second, p.second); in Merge()
152 OverflowSafeAdd(res.first->second, p.second); in Merge()
177 OverflowSafeAdd(it2->second, other_p2.second); in Merge()