Searched refs:tracker_map (Results 1 – 3 of 3) sorted by relevance
/packages/modules/NeuralNetworks/tools/systrace_parser/parser/ |
D | output.py | 12 def print_stats(tracker_map, print_detail=True, total_times=False, per_execution=False, argument 40 for tracker in tracker_map.values(): 48 times, self_times, has_warmup_and_benchmark, execution_counts = aggregate_times(tracker_map) 124 for pid in tracker_map: 125 tracker = tracker_map[pid] 127 for pid in tracker_map: 128 tracker = tracker_map[pid] 138 def reset_trackers(tracker_map): argument 139 for pid in tracker_map: 140 tracker = tracker_map[pid]
|
D | aggregate.py | 14 def aggregate_times(tracker_map, special_case_lr_pe=True): argument 41 for pid in tracker_map: 42 execution_count = max(execution_count, tracker_map[pid].get_execution_count(app_phase)) 75 for pid in tracker_map: 76 begins = begins + tracker_map[pid].get_ld_pe_begins(app_phase) 77 ends = ends + tracker_map[pid].get_ld_pe_ends(app_phase) 84 for pid in tracker_map: 85 t0 += tracker_map[pid].get_stat(tag, app_phase, special_case_lr_pe)
|
/packages/modules/NeuralNetworks/tools/systrace_parser/ |
D | parse_systrace.py | 29 tracker_map = {} 33 tracker_map[pid] = Tracker(pid, driver_tgids.get(tgid, False), app_phase) 44 assert tracker_map.get(pid), "Cannot find PID %s in tracker_map" % pid 45 if tracker_map.get(pid): 52 print_stats(tracker_map, print_detail, total_times, per_execution, json, 54 reset_trackers(tracker_map) 59 tracker_map[pid].handle_mark(time, mark) 65 print_stats(tracker_map, print_detail, total_times, per_execution, json, starting_mark, sep)
|