Home
last modified time | relevance | path

Searched refs:IdleTimeRatio (Results 1 – 3 of 3) sorted by relevance

/external/tensorflow/tensorflow/core/profiler/utils/
Dop_metrics_db_utils_test.cc27 TEST(OpMetricsDbTest, IdleTimeRatio) { in TEST() argument
31 EXPECT_NEAR(0.4, IdleTimeRatio(metrics_db_0), kMaxError); in TEST()
36 EXPECT_NEAR(0.25, IdleTimeRatio(metrics_db_1), kMaxError); in TEST()
41 EXPECT_NEAR(1.0, IdleTimeRatio(metrics_db_2), kMaxError); in TEST()
Dop_metrics_db_utils.h64 double IdleTimeRatio(const OpMetricsDb& metrics_db);
Dop_metrics_db_utils.cc84 double IdleTimeRatio(const OpMetricsDb& metrics_db) { in IdleTimeRatio() function