Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/core/profiler/convert/
Dstep_events_to_steps_db.cc61 StepInfoResult step_info; in ConvertStepDetailsToStepInfo() local
62 step_info.mutable_step_breakdown()->PackFrom(generic); in ConvertStepDetailsToStepInfo()
64 step_info.set_step_num(step_num); in ConvertStepDetailsToStepInfo()
65 step_info.set_begin_ps(step_time.begin_ps()); in ConvertStepDetailsToStepInfo()
66 step_info.set_duration_ps(step_time.duration_ps()); in ConvertStepDetailsToStepInfo()
70 step_info.set_duration_ps(0); in ConvertStepDetailsToStepInfo()
72 return step_info; in ConvertStepDetailsToStepInfo()
94 string DebugStepInfo(const StepInfoResult& step_info) { in DebugStepInfo() argument
96 out << "step_num=" << step_info.step_num() in DebugStepInfo()
97 << ", duration_ps=" << step_info.duration_ps() in DebugStepInfo()
[all …]
Dop_stats_to_pod_stats.cc33 const StepInfoResult& step_info) { in CreatePodStatsRecord() argument
36 bool success = step_info.step_breakdown().UnpackTo(&generic); in CreatePodStatsRecord()
39 record.set_step_num(step_info.step_num()); in CreatePodStatsRecord()
40 record.set_total_duration_us(PicosToMicros(step_info.duration_ps())); in CreatePodStatsRecord()
Dop_stats_to_pod_stats_test.cc57 StepInfoResult& step_info = (*info->mutable_step_info_per_core())[kCoreId]; in CreateOpStats() local
58 step_info.set_step_num(kStepNum); in CreateOpStats()
59 step_info.set_duration_ps(kStepTimePs); in CreateOpStats()
76 step_info.mutable_step_breakdown()->PackFrom(breakdown); in CreateOpStats()
Dop_stats_to_pod_viewer_test.cc58 StepInfoResult& step_info = (*info->mutable_step_info_per_core())[kCoreId]; in CreateOpStats() local
59 step_info.set_step_num(kStepNum); in CreateOpStats()
60 step_info.set_duration_ps(kStepTimePs); in CreateOpStats()
77 step_info.mutable_step_breakdown()->PackFrom(breakdown); in CreateOpStats()
Dop_stats_to_input_pipeline_analysis.cc209 const StepInfoResult& step_info = *ptr; in ComputeGenericInputPipelineAnalysisResult() local
212 details.set_step_number(step_info.step_num()); in ComputeGenericInputPipelineAnalysisResult()
213 details.set_step_time_ms(PicosToMillis(step_info.duration_ps())); in ComputeGenericInputPipelineAnalysisResult()
215 bool success = step_info.step_breakdown().UnpackTo(&generic); in ComputeGenericInputPipelineAnalysisResult()
216 if (!success && !step_info.step_breakdown().type_url().empty()) { in ComputeGenericInputPipelineAnalysisResult()
583 const auto& step_info = coreid_and_stepinfo.second; in ComputeStepTimeSummaryInMs() local
584 max_per_step_stats_in_ms = std::max(step_info.duration_ps() / kNumPsPerMs, in ComputeStepTimeSummaryInMs()
Dop_stats_combiner.cc234 for (PerCoreStepInfo& step_info : in CombineAllOpStats()
237 step_info.mutable_hlo_metrics_db()); in CombineAllOpStats()
/external/llvm-project/debuginfo-tests/dexter/dex/debugger/DebuggerControllers/
DControllerHelpers.py11 def in_source_file(source_files, step_info): argument
12 if not step_info.current_frame:
14 if not step_info.current_location.path:
16 if not os.path.exists(step_info.current_location.path):
18 return any(os.path.samefile(step_info.current_location.path, f) \
21 def update_step_watches(step_info, watches, commands): argument
29 loc = step_info.current_location
33 result = watch.eval(step_info)
34 step_info.watches.update(result)
DDefaultController.py52 step_info = self.debugger.get_step_info(self.watches, self.step_index)
54 if step_info.current_frame:
55 update_step_watches(step_info, self.watches, self.step_collection.commands)
56 self.step_collection.new_step(self.context, step_info)
58 if in_source_file(self.source_files, step_info):
DConditionalController.py106 step_info = self.debugger.get_step_info(self._watches, self._step_index)
107 if step_info.current_frame:
109 update_step_watches(step_info, self._watches, self.step_collection.commands)
110 self.step_collection.new_step(self.context, step_info)
112 loc = step_info.current_location
/external/llvm-project/debuginfo-tests/dexter/dex/command/commands/
DDexExpectWatchBase.py106 def _handle_watch(self, step_info): argument
109 if not step_info.watch_info.could_evaluate:
110 self.invalid_watches.append(step_info)
113 if step_info.watch_info.is_optimized_away:
114 self.optimized_out_watches.append(step_info)
117 if step_info.watch_info.is_irretrievable:
118 self.irretrievable_watches.append(step_info)
121 if step_info.expected_value not in self.values:
122 self.unexpected_watches.append(step_info)
125 self.expected_watches.append(step_info)
[all …]
DDexExpectStepOrder.py32 def eval(self, step_info): argument
33 return {'DexExpectStepOrder': ValueIR(expression=str(step_info.current_location.lineno),
34 value=str(step_info.step_index), type_name=None,
DDexUnreachable.py29 def eval(self, step_info): argument
/external/angle/scripts/
Dgenerate_stats.py243 def validate_step_info(step_info, build_name, step_name): argument
245 if not step_info:
249 if 'Total' in step_info:
251 partial_sum_values = [int(step_info[key]) for key in partial_sum_keys if key in step_info]
253 if step_info['Total'] != computed_total:
255 str(step_info['Total']) + ' - Computed total: ' + str(computed_total) +
275 step_info = {}
339 if key not in step_info:
340 step_info[key] = 0
341 step_info[key] += intVal
[all …]
/external/llvm-project/debuginfo-tests/dexter/dex/debugger/
DDebuggerBase.py163 step_info = self._get_step_info(watches, step_index)
164 for frame in step_info.frames:
166 return step_info
209 self.step_info = None
216 return self.step_info
253 self.dbg.step_info = self._new_step(['/root/some_file'])
259 self.dbg.step_info = self._new_step([])
266 self.dbg.step_info = self._new_step(
/external/llvm-project/debuginfo-tests/dexter/dex/debugger/dbgeng/
Ddbgeng.py29 self.step_info = None
97 self.step_info = probe_process.probe_state(self.client)
103 self.step_info = res
110 frames = self.step_info
/external/llvm-project/debuginfo-tests/dexter/dex/dextIR/
DStepIR.py74 step_info = (self.step_index, ) + frame_info + (
79 json.dumps(step_info))