Home
last modified time | relevance | path

Searched refs:metric_def (Results 1 – 12 of 12) 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) TF_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()
265 const MetricDef<metric_kind, Value, NumLabels>* const metric_def, in GetMetricCollector() argument
[all …]
DBUILD46 ":metric_def",
58 ":metric_def",
76 ":metric_def",
92 ":metric_def",
104 name = "metric_def",
105 hdrs = ["metric_def.h"],
141 ":metric_def",
155 ":metric_def",
173 ":metric_def",
187 ":metric_def",
[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.h137 NumLabels>& metric_def,
151 metric_def, in Sampler() argument
153 : metric_def_(metric_def), in Sampler()
211 metric_def, in New() argument
213 return new Sampler<NumLabels>(metric_def, std::move(buckets)); in New()
Dpercentile_sampler.h120 metric_def,
136 NumLabels>& metric_def, in PercentileSampler() argument
139 : metric_def_(metric_def), in PercentileSampler()
203 metric_def, in New() argument
206 return new PercentileSampler<NumLabels>(metric_def, std::move(percentiles), in New()
Dcounter.h112 const MetricDef<MetricKind::kCumulative, int64, NumLabels>& metric_def) in Counter() argument
113 : metric_def_(metric_def), in Counter()
Dgauge.h164 const MetricDef<MetricKind::kGauge, ValueType, NumLabels>& metric_def) in Gauge() argument
165 : metric_def_(metric_def), in Gauge()
Dmobile_percentile_sampler.h51 metric_def,
Dmobile_sampler.h88 NumLabels>& metric_def, in New() argument
Dcollection_registry_test.cc72 const MetricDef<MetricKind::kCumulative, int64, 0> metric_def( in TEST() local
76 collection_registry->Register(&metric_def, EmptyCollectionFunction); in TEST()
78 collection_registry->Register(&metric_def, EmptyCollectionFunction); in TEST()
/external/tensorflow/tensorflow/core/
DBUILD1366 "//tensorflow/core/lib/monitoring:metric_def",