Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/core/lib/monitoring/
Dcollection_registry.cc25 const CollectionRegistry::CollectionInfo& info) { in CollectMetricValues()
59 CollectionRegistry* CollectionRegistry::Default() { in Default()
60 static CollectionRegistry* default_registry = in Default()
61 new CollectionRegistry(Env::Default()); in Default()
65 CollectionRegistry::CollectionRegistry(Env* const env) : env_(env) {} in CollectionRegistry() function in tensorflow::monitoring::CollectionRegistry
67 std::unique_ptr<CollectionRegistry::RegistrationHandle>
68 CollectionRegistry::Register(const AbstractMetricDef* const metric_def, in Register()
89 void CollectionRegistry::Unregister(const AbstractMetricDef* const metric_def) { in Unregister()
94 std::unique_ptr<CollectedMetrics> CollectionRegistry::CollectMetrics( in CollectMetrics()
Dcollection_registry.h125 class CollectionRegistry {
127 ~CollectionRegistry() = default;
132 static CollectionRegistry* Default();
171 CollectionRegistry(Env* env);
191 TF_DISALLOW_COPY_AND_ASSIGN(CollectionRegistry);
198 class CollectionRegistry::RegistrationHandle {
200 RegistrationHandle(CollectionRegistry* const export_registry, in RegistrationHandle()
207 CollectionRegistry* const export_registry_;
285 const CollectionRegistry::CollectionInfo& collection_info);
Dcollection_registry_test.cc35 static std::unique_ptr<CollectionRegistry> CreateRegistry(Env* const env) { in CreateRegistry()
36 return std::unique_ptr<CollectionRegistry>(new CollectionRegistry(env)); in CreateRegistry()
47 auto* collection_registry = CollectionRegistry::Default(); in TEST()
57 std::unique_ptr<CollectionRegistry::RegistrationHandle> handle0 = in TEST()
59 std::unique_ptr<CollectionRegistry::RegistrationHandle> handle1 = in TEST()
71 auto* collection_registry = CollectionRegistry::Default(); in TEST()
97 auto* collection_registry = CollectionRegistry::Default(); in TEST()
98 CollectionRegistry::CollectMetricsOptions options; in TEST()
187 auto* collection_registry = CollectionRegistry::Default(); in TEST()
188 CollectionRegistry::CollectMetricsOptions options; in TEST()
[all …]
Dcounter.h114 registration_handle_(CollectionRegistry::Default()->Register( in Counter()
139 std::unique_ptr<CollectionRegistry::RegistrationHandle> registration_handle_;
Dsampler.h155 registration_handle_(CollectionRegistry::Default()->Register( in Sampler()
185 std::unique_ptr<CollectionRegistry::RegistrationHandle> registration_handle_;
Dpercentile_sampler.h143 registration_handle_(CollectionRegistry::Default()->Register( in PercentileSampler()
189 std::unique_ptr<CollectionRegistry::RegistrationHandle> registration_handle_;
Dgauge.h166 registration_handle_(CollectionRegistry::Default()->Register( in Gauge()
191 std::unique_ptr<CollectionRegistry::RegistrationHandle> registration_handle_;
/external/tensorflow/tensorflow/c/eager/
Dc_api_experimental_test.cc50 auto* collection_registry = monitoring::CollectionRegistry::Default(); in TEST()
51 monitoring::CollectionRegistry::CollectMetricsOptions options; in TEST()
100 auto* collection_registry = monitoring::CollectionRegistry::Default(); in TEST()
101 monitoring::CollectionRegistry::CollectMetricsOptions options; in TEST()
149 auto* collection_registry = monitoring::CollectionRegistry::Default(); in TEST()
150 monitoring::CollectionRegistry::CollectMetricsOptions options; in TEST()
/external/tensorflow/tensorflow/compiler/xrt/
Dxrt_metrics.cc276 auto* collection_registry = monitoring::CollectionRegistry::Default(); in CollectMetrics()
277 monitoring::CollectionRegistry::CollectMetricsOptions options; in CollectMetrics()