Searched refs:metric_def (Results 1 – 9 of 9) sorted by relevance
/external/tensorflow/tensorflow/core/lib/monitoring/ |
D | collection_registry.cc | 27 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 …]
|
D | collection_registry.h | 69 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 …]
|
D | metric_def_test.cc | 49 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()
|
D | sampler.h | 123 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()
|
D | counter.h | 102 const MetricDef<MetricKind::kCumulative, int64, NumLabels>& metric_def) in Counter() argument 103 : metric_def_(metric_def), in Counter()
|
D | gauge.h | 154 const MetricDef<MetricKind::kGauge, ValueType, NumLabels>& metric_def) in Gauge() argument 155 : metric_def_(metric_def), in Gauge()
|
D | mobile_sampler.h | 79 NumLabels>& metric_def, in New() argument
|
D | collection_registry_test.cc | 71 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/ |
D | BUILD | 742 "lib/monitoring/metric_def.h",
|