Home
last modified time | relevance | path

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

/system/extras/simpleperf/scripts/
Dgecko_profile_generator.py363 def remove_stack_gaps(max_remove_gap_length: int, thread_map: Dict[int, Thread]) -> None:
370 for tid in list(thread_map.keys()):
371 thread = thread_map[tid]
378 del thread_map[tid]
414 thread_map: Dict[int, Thread] = {}
441 thread = thread_map.get(sample.cpu)
444 thread_map[sample.cpu] = thread
451 thread = thread_map.get(sample.tid)
454 thread_map[sample.tid] = thread
466 for thread in thread_map.values():
[all …]
Dsimpleperf_report_lib.py587 self.thread_map: Dict[int, self.report_sample_pb2.Thread] = {}
631 self.thread_map[record.thread.thread_id] = record.thread
745 thread = self.thread_map[sample.thread_id]
/system/extras/simpleperf/
Dreport_lib_interface.cpp162 std::unordered_map<pid_t, std::unique_ptr<SampleRecord>> thread_map; member
420 auto it = trace_offcpu_.thread_map.find(tid); in ProcessSampleRecord()
421 if (it == trace_offcpu_.thread_map.end() || !it->second) { in ProcessSampleRecord()
425 if (it == trace_offcpu_.thread_map.end()) { in ProcessSampleRecord()
426 trace_offcpu_.thread_map[tid].reset(sr); in ProcessSampleRecord()
455 auto it = trace_offcpu_.thread_map.find(tid); in ProcessSwitchRecord()
456 if (it != trace_offcpu_.thread_map.end() && it->second) { in ProcessSwitchRecord()
Dcmd_stat_impl.h185 const std::unordered_map<pid_t, ThreadInfo>& thread_map, in CounterSummaryBuilder() argument
190 thread_map_(thread_map), in CounterSummaryBuilder()