Searched refs:metrics_db (Results 1 – 9 of 9) sorted by relevance
84 double IdleTimeRatio(const OpMetricsDb& metrics_db) { in IdleTimeRatio() argument86 SafeDivide(metrics_db.total_op_time_ps(), metrics_db.total_time_ps()); in IdleTimeRatio()89 uint64 IdleTimePs(const OpMetricsDb& metrics_db) { in IdleTimePs() argument90 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()
64 double IdleTimeRatio(const OpMetricsDb& metrics_db);67 uint64 IdleTimePs(const OpMetricsDb& metrics_db);
28 std::vector<const OpMetrics*> SortedOpMetricsDb(const OpMetricsDb& metrics_db, in SortedOpMetricsDb() argument31 result.reserve(metrics_db.metrics_db_size()); in SortedOpMetricsDb()32 for (const OpMetrics& metrics : metrics_db.metrics_db()) { in SortedOpMetricsDb()
82 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()
218 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()
28 std::vector<const OpMetrics*> SortedOpMetricsDb(const OpMetricsDb& metrics_db,
117 for (const auto& src_metrics : src.metrics_db()) { in Combine()
255 const auto& metric = combined_op_stats.host_op_metrics_db().metrics_db(1); in TEST()
91 repeated OpMetrics metrics_db = 10; field