Home
last modified time | relevance | path

Searched refs:metrics_db (Results 1 – 9 of 9) sorted by relevance

/external/tensorflow/tensorflow/core/profiler/utils/
Dop_metrics_db_utils.cc84 double IdleTimeRatio(const OpMetricsDb& metrics_db) { in IdleTimeRatio() argument
86 SafeDivide(metrics_db.total_op_time_ps(), metrics_db.total_time_ps()); in IdleTimeRatio()
89 uint64 IdleTimePs(const OpMetricsDb& metrics_db) { in IdleTimePs() argument
90 if (metrics_db.total_time_ps() <= metrics_db.total_op_time_ps()) return 0; in IdleTimePs()
91 return metrics_db.total_time_ps() - metrics_db.total_op_time_ps(); in IdleTimePs()
108 for (const auto& device_op_metrics : device_op_metrics_db.metrics_db()) { in CreateTfMetricsDbFromDeviceOpMetricsDb()
Dop_metrics_db_utils.h64 double IdleTimeRatio(const OpMetricsDb& metrics_db);
67 uint64 IdleTimePs(const OpMetricsDb& metrics_db);
/external/tensorflow/tensorflow/core/profiler/convert/
Dop_metrics_to_record.cc28 std::vector<const OpMetrics*> SortedOpMetricsDb(const OpMetricsDb& metrics_db, in SortedOpMetricsDb() argument
31 result.reserve(metrics_db.metrics_db_size()); in SortedOpMetricsDb()
32 for (const OpMetrics& metrics : metrics_db.metrics_db()) { in SortedOpMetricsDb()
Dxplane_to_op_metrics_db_test.cc82 const OpMetrics& op_1 = op_metrics.metrics_db().at(0); in TEST()
88 const OpMetrics& idle = op_metrics.metrics_db().at(1); in TEST()
93 const OpMetrics& op_2 = op_metrics.metrics_db().at(2); in TEST()
149 const OpMetrics& op_1 = op_metrics.metrics_db().at(0); in TEST()
155 const OpMetrics& op_2 = op_metrics.metrics_db().at(1); in TEST()
161 const OpMetrics& op_3 = op_metrics.metrics_db().at(2); in TEST()
167 const OpMetrics& idle = op_metrics.metrics_db().at(3); in TEST()
Dop_stats_to_overview_page.cc218 for (const OpMetrics& metrics : op_stats.host_op_metrics_db().metrics_db()) { in ComputeAnalysisResult()
228 for (const OpMetrics& metrics : device_tf_op_metrics_db.metrics_db()) { in ComputeAnalysisResult()
243 op_stats.device_op_metrics_db().metrics_db()) { in ComputeAnalysisResult()
Dop_metrics_to_record.h28 std::vector<const OpMetrics*> SortedOpMetricsDb(const OpMetricsDb& metrics_db,
Dop_metrics_db_combiner.cc117 for (const auto& src_metrics : src.metrics_db()) { in Combine()
Dxplane_to_op_stats_test.cc255 const auto& metric = combined_op_stats.host_op_metrics_db().metrics_db(1); in TEST()
/external/tensorflow/tensorflow/core/profiler/protobuf/
Dop_metrics.proto91 repeated OpMetrics metrics_db = 10; field