Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/core/lib/monitoring/
Dcollection_registry.cc27 this, info.metric_def, info.registration_time_millis)); in CollectMetricValues()
36 const AbstractMetricDef* const metric_def) { in CollectMetricDescriptor() argument
41 string(metric_def->name()), in CollectMetricDescriptor()
45 metric_descriptor->name = string(metric_def->name()); in CollectMetricDescriptor()
46 metric_descriptor->description = string(metric_def->description()); in CollectMetricDescriptor()
48 for (const StringPiece label_name : metric_def->label_descriptions()) { in CollectMetricDescriptor()
52 metric_descriptor->metric_kind = metric_def->kind(); in CollectMetricDescriptor()
53 metric_descriptor->value_type = metric_def->value_type(); in CollectMetricDescriptor()
68 CollectionRegistry::Register(const AbstractMetricDef* const metric_def, in Register() argument
75 const auto found_it = registry_.find(metric_def->name()); in Register()
[all …]
Dcollection_registry.h69 const MetricDef<metric_kind, Value, NumLabels>* const metric_def, in MetricCollector() argument
72 : metric_def_(metric_def), in MetricCollector()
76 point_set_->metric_name = string(metric_def->name()); in MetricCollector()
102 const MetricDef<metric_kind, Value, NumLabels>* const metric_def);
153 const AbstractMetricDef* metric_def,
176 void Unregister(const AbstractMetricDef* metric_def) LOCKS_EXCLUDED(mu_);
185 const AbstractMetricDef* const metric_def; member
201 const AbstractMetricDef* const metric_def) in RegistrationHandle() argument
202 : export_registry_(export_registry), metric_def_(metric_def) {} in RegistrationHandle()
259 const MetricDef<metric_kind, Value, NumLabels>* const metric_def, in GetMetricCollector() argument
[all …]
Dmetric_def_test.cc49 const MetricDef<MetricKind::kCumulative, int64, 1> metric_def( in TEST() local
57 EXPECT_NE(name, metric_def.name()); in TEST()
58 EXPECT_NE(description, metric_def.description()); in TEST()
59 EXPECT_NE(label_description, metric_def.label_descriptions()[0]); in TEST()
Dsampler.h123 NumLabels>& metric_def,
135 metric_def, in Sampler() argument
137 : metric_def_(metric_def), in Sampler()
186 metric_def, in New() argument
188 return new Sampler<NumLabels>(metric_def, std::move(buckets)); in New()
Dcounter.h102 const MetricDef<MetricKind::kCumulative, int64, NumLabels>& metric_def) in Counter() argument
103 : metric_def_(metric_def), in Counter()
Dgauge.h154 const MetricDef<MetricKind::kGauge, ValueType, NumLabels>& metric_def) in Gauge() argument
155 : metric_def_(metric_def), in Gauge()
Dmobile_sampler.h79 NumLabels>& metric_def, in New() argument
Dcollection_registry_test.cc71 const MetricDef<MetricKind::kCumulative, int64, 0> metric_def( in TEST() local
75 collection_registry->Register(&metric_def, EmptyCollectionFunction); in TEST()
79 collection_registry->Register(&metric_def, EmptyCollectionFunction); in TEST()
/external/tensorflow/tensorflow/core/
DBUILD742 "lib/monitoring/metric_def.h",