Home
last modified time | relevance | path

Searched refs:step_db (Results 1 – 10 of 10) sorted by relevance

/external/tensorflow/tensorflow/core/profiler/convert/
Dstep_events_to_steps_db.cc114 StepDatabaseResult step_db; in ConvertStepEventsToStepDb() local
153 *step_db.add_step_sequence() = per_core_step_info; in ConvertStepEventsToStepDb()
161 step_db.step_sequence_size() > kDropIncomplteteStepThreshold) { in ConvertStepEventsToStepDb()
162 step_db.mutable_step_sequence()->erase( in ConvertStepEventsToStepDb()
163 step_db.mutable_step_sequence()->begin()); in ConvertStepEventsToStepDb()
164 step_db.mutable_step_sequence()->RemoveLast(); in ConvertStepEventsToStepDb()
166 return step_db; in ConvertStepEventsToStepDb()
Dxplane_to_op_stats_test.cc121 const StepDatabaseResult& step_db = op_stats.step_db(); in TEST() local
123 EXPECT_EQ(step_db.step_sequence_size(), 1); in TEST()
161 const StepDatabaseResult& step_db = op_stats.step_db(); in TEST() local
163 EXPECT_EQ(step_db.step_sequence_size(), 1); in TEST()
263 ASSERT_EQ(combined_op_stats.step_db().step_sequence_size(), 1); in TEST()
265 combined_op_stats.step_db().step_sequence(0).step_info_per_core_size(), in TEST()
268 combined_op_stats.step_db().step_sequence(0).step_info_per_core(); in TEST()
Dop_stats_to_pod_viewer.cc34 for (const auto& step_sequence : op_stats.step_db().step_sequence()) { in ConvertOpStatsToPodStatsSequence()
Dop_stats_combiner.cc141 CombineStepDatabase(src_host_id, step_intersection, src.step_db(), in CombineOpStats()
203 &op_stats_info.op_stats->step_db(); in ComputeStepIntersectionToMergeOpStats()
Dop_stats_to_pod_stats.cc84 for (const auto& step_sequence : op_stats.step_db().step_sequence()) { in ConvertOpStatsToPodStats()
Dop_stats_to_input_pipeline_analysis.cc598 op_stats.step_db().step_sequence()); in ConvertOpStatsToInputPipelineAnalysis()
/external/tensorflow/tensorflow/core/profiler/utils/
Ddiagnostics.cc50 if (op_stats.step_db().use_incomplete_step()) { in PopulateStepDiagnostics()
52 } else if (op_stats.step_db().step_sequence().empty()) { in PopulateStepDiagnostics()
55 if (op_stats.step_db().num_steps_dropped()) { in PopulateStepDiagnostics()
57 absl::StrCat(op_stats.step_db().num_steps_dropped(), kStepsDropped); in PopulateStepDiagnostics()
Dstep_intersection_test.cc62 StepDatabaseResult step_db; in CreateTestSteps() local
65 *step_db.add_step_sequence() = in CreateTestSteps()
69 result[host_id] = step_db; in CreateTestSteps()
78 StepDatabaseResult step_db; in CreateNoStep() local
79 result[host_id] = step_db; in CreateNoStep()
89 const auto& step_db = hostid_stepdb.second; in Convert() local
90 result[host_id] = &step_db; in Convert()
Dstep_intersection.cc42 Timespan AllStepsTimespan(const StepDatabaseResult& step_db) { in AllStepsTimespan() argument
45 for (const auto& step : step_db.step_sequence()) { in AllStepsTimespan()
178 const auto& step_db = hostid_stepdb.second; in StepIntersection() local
179 Timespan timespan = AllStepsTimespan(*step_db); in StepIntersection()
182 chief_step_db = step_db; in StepIntersection()
199 const auto& step_db = hostid_stepdb.second; in StepIntersection() local
204 static_cast<uint32>(step_db->step_sequence_size())}; in StepIntersection()
207 FindStepsAlignment(*step_db, *chief_step_db); in StepIntersection()
/external/tensorflow/tensorflow/core/profiler/protobuf/
Dop_stats.proto117 StepDatabaseResult step_db = 4; field