/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) 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 …]
|
D | BUILD | 46 ":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 …]
|
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 | 137 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()
|
D | percentile_sampler.h | 120 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()
|
D | counter.h | 112 const MetricDef<MetricKind::kCumulative, int64, NumLabels>& metric_def) in Counter() argument 113 : metric_def_(metric_def), in Counter()
|
D | gauge.h | 164 const MetricDef<MetricKind::kGauge, ValueType, NumLabels>& metric_def) in Gauge() argument 165 : metric_def_(metric_def), in Gauge()
|
D | mobile_percentile_sampler.h | 51 metric_def,
|
D | mobile_sampler.h | 88 NumLabels>& metric_def, in New() argument
|
D | collection_registry_test.cc | 72 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/ |
D | BUILD | 1366 "//tensorflow/core/lib/monitoring:metric_def",
|