Searched refs:metric_kind (Results 1 – 5 of 5) sorted by relevance
/external/tensorflow/tensorflow/core/lib/monitoring/ |
D | collection_registry.h | 56 template <MetricKind metric_kind, typename Value, int NumLabels> 69 const MetricDef<metric_kind, Value, NumLabels>* const metric_def, in MetricCollector() argument 79 const MetricDef<metric_kind, Value, NumLabels>* const metric_def_; 100 template <MetricKind metric_kind, typename Value, int NumLabels> 101 MetricCollector<metric_kind, Value, NumLabels> Get( 102 const MetricDef<metric_kind, Value, NumLabels>* const metric_def); 257 template <MetricKind metric_kind, typename Value, int NumLabels> 258 MetricCollector<metric_kind, Value, NumLabels> GetMetricCollector( in GetMetricCollector() 259 const MetricDef<metric_kind, Value, NumLabels>* const metric_def, in GetMetricCollector() argument 269 return MetricCollector<metric_kind, Value, NumLabels>( in GetMetricCollector() [all …]
|
D | collection_registry_test.cc | 115 EXPECT_EQ(MetricKind::kCumulative, ld.metric_kind); in TEST() 123 EXPECT_EQ(MetricKind::kCumulative, ud.metric_kind); in TEST() 205 EXPECT_EQ(MetricKind::kGauge, ld.metric_kind); in TEST() 213 EXPECT_EQ(MetricKind::kGauge, ud.metric_kind); in TEST() 311 EXPECT_EQ(MetricKind::kCumulative, ld.metric_kind); in TEST() 319 EXPECT_EQ(MetricKind::kCumulative, ud.metric_kind); in TEST()
|
D | metric_def.h | 126 template <MetricKind metric_kind, typename Value, int NumLabels> 132 : AbstractMetricDef(metric_kind, internal::GetValueType<Value>(), name, in MetricDef()
|
D | collected_metrics.h | 69 MetricKind metric_kind; member
|
D | collection_registry.cc | 52 metric_descriptor->metric_kind = metric_def->kind(); in CollectMetricDescriptor()
|