Home
last modified time | relevance | path

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

/aosp12/packages/modules/NeuralNetworks/tools/systrace_parser/parser/
H A Daggregate.py39 for app_phase in all_application_phases:
43 execution_counts[app_phase] = execution_count
54 times[app_phase] = {}
55 self_times[app_phase] = {}
57 times[app_phase][phase] = {}
58 self_times[app_phase][phase] = {}
69 for app_phase in all_application_phases:
97 times[app_phase][phase][LAYER_TOTAL] = max_ignoring_nans(times[app_phase][phase].values())
105 self_times[app_phase][phase][LAYER_TOTAL] = times[app_phase][phase][LAYER_TOTAL]
133 self_times[app_phase][phase][layer] = times[app_phase][phase][layer] - t
[all …]
H A Dtracker.py50 def __init__(self, tgid, is_driver, app_phase): argument
53 self.app_phase = app_phase
113 self.app_phase.push(phase)
129 self.app_phase.pop()
194 def get_ld_pe_begins(self, app_phase): argument
197 def get_ld_pe_ends(self, app_phase): argument
229 def get_execution_count(self, app_phase): argument
238 def get_begins(self, app_phase, function): argument
239 name = app_phase + "::" + function
241 def get_ends(self, app_phase, function): argument
[all …]
H A Dtree.py28 def push(self, start_time_s, mark, layer, phase, app_phase, subtract): argument
29 node = self.current.add(start_time_s, mark, layer, phase, app_phase, subtract)
116 node.layer, node.phase(), node.app_phase, subtract=False)
139 node.add_intermediate_parent(LAYER_APPLICATION, node.phase(), node.app_phase)
187 def __init__(self, start_time_s, mark, layer, phase, app_phase, subtract): argument
193 self.app_phase = app_phase
247 def add(self, start_time_s, mark, layer, phase, app_phase, subtract): argument
248 node = CallTreeNode(start_time_s, mark, layer, phase, app_phase, subtract)
253 def add_intermediate_parent(self, layer, phase, app_phase): argument
257 layer, phase, app_phase, subtract=False)
[all …]
/aosp12/packages/modules/NeuralNetworks/tools/systrace_parser/parser/test/
H A Dtest_stats.py8 self.app_phase = AppPhase()
9 self.tracker1 = Tracker(1, False, self.app_phase)
10 self.tracker2 = Tracker(2, True, self.app_phase)
35 def check_overall_time(self, tag, spec_interval, app_phase=None): argument
38 if not app_phase:
41 actual = self.times[app_phase][phase][layer]
/aosp12/packages/modules/NeuralNetworks/tools/systrace_parser/
H A Dparse_systrace.py30 app_phase = AppPhase()
33 tracker_map[pid] = Tracker(pid, driver_tgids.get(tgid, False), app_phase)
55 app_phase.reset()