Home
last modified time | relevance | path

Searched refs:point_set (Results 1 – 4 of 4) sorted by relevance

/external/tensorflow/tensorflow/core/profiler/utils/
Dtfstreamz_utils.cc93 for (const auto& point_set : snapshot.metrics->point_set_map) { in SerializeToXPlane() local
94 const std::string& metric_name = point_set.first; in SerializeToXPlane()
96 for (const auto& point : point_set.second->points) { in SerializeToXPlane()
/external/tensorflow/tensorflow/core/lib/monitoring/
Dcollection_registry.h71 internal::Collector* const collector, PointSet* const point_set) in MetricCollector() argument
75 point_set_(point_set) { in MetricCollector()
268 auto* const point_set = [&]() { in GetMetricCollector()
276 metric_def, registration_time_millis, collector, point_set); in GetMetricCollector()
Dcollection_registry_test.cc490 const PointSet& point_set = in TEST() local
492 ASSERT_EQ(1, point_set.points.size()); in TEST()
493 EXPECT_EQ(25, point_set.points[0]->start_timestamp_millis); in TEST()
494 EXPECT_EQ(100, point_set.points[0]->end_timestamp_millis); in TEST()
507 const PointSet& point_set = in TEST() local
509 ASSERT_EQ(1, point_set.points.size()); in TEST()
510 EXPECT_EQ(175, point_set.points[0]->start_timestamp_millis); in TEST()
511 EXPECT_EQ(175, point_set.points[0]->end_timestamp_millis); in TEST()
/external/tensorflow/tensorflow/compiler/xrt/
Dxrt_metrics.cc59 const monitoring::PointSet& point_set) { in AddMetrics() argument
60 for (auto& point : point_set.points) { in AddMetrics()
62 metrics->set_name(point_set.metric_name); in AddMetrics()