Home
last modified time | relevance | path

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

/frameworks/ml/nn/tools/systrace_parser/parser/
Daggregate.py39 for app_phase in all_application_phases:
42 execution_count = max(execution_count, tracker_map[pid].get_execution_count(app_phase))
43 execution_counts[app_phase] = execution_count
53 for app_phase in [PHASE_WARMUP, PHASE_BENCHMARK]:
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:
76 begins = begins + tracker_map[pid].get_ld_pe_begins(app_phase)
[all …]
Dtracker.py49 def __init__(self, tgid, is_driver, app_phase): argument
52 self.app_phase = app_phase
109 self.app_phase.push(phase)
115 self.la_pe_counts[self.app_phase.current()] = (
116 self.la_pe_counts.get(self.app_phase.current(), 0) + 1)
117 self.mytree.push(time, mark, layer, phase, self.app_phase.current(), subtract)
124 self.app_phase.pop()
125 function = node.app_phase + "::" + get_function_name_from_mark(node.mark)
155 tag = node.app_phase + "_" + layer + "_" + phase
162 pe_tag = node.app_phase + "_" + make_tag(layer, PHASE_EXECUTION)
[all …]
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 …]
/frameworks/ml/nn/tools/systrace_parser/parser/test/
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]
/frameworks/ml/nn/tools/systrace_parser/
Dparse_systrace.py30 app_phase = AppPhase()
33 tracker_map[pid] = Tracker(pid, driver_tgids.get(tgid, False), app_phase)
55 app_phase.reset()