Home
last modified time | relevance | path

Searched refs:CollectionRegistry (Results 1 – 6 of 6) 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()
88 void CollectionRegistry::Unregister(const AbstractMetricDef* const metric_def) { in Unregister()
93 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_;
279 const CollectionRegistry::CollectionInfo& collection_info);
Dcollection_registry_test.cc34 static std::unique_ptr<CollectionRegistry> CreateRegistry(Env* const env) { in CreateRegistry()
35 return std::unique_ptr<CollectionRegistry>(new CollectionRegistry(env)); in CreateRegistry()
46 auto* collection_registry = CollectionRegistry::Default(); in TEST()
56 std::unique_ptr<CollectionRegistry::RegistrationHandle> handle0 = in TEST()
58 std::unique_ptr<CollectionRegistry::RegistrationHandle> handle1 = in TEST()
70 auto* collection_registry = CollectionRegistry::Default(); in TEST()
99 auto* collection_registry = CollectionRegistry::Default(); in TEST()
100 CollectionRegistry::CollectMetricsOptions options; in TEST()
189 auto* collection_registry = CollectionRegistry::Default(); in TEST()
190 CollectionRegistry::CollectMetricsOptions options; in TEST()
[all …]
Dcounter.h104 registration_handle_(CollectionRegistry::Default()->Register( in Counter()
120 std::unique_ptr<CollectionRegistry::RegistrationHandle> registration_handle_;
Dsampler.h139 registration_handle_(CollectionRegistry::Default()->Register( in Sampler()
160 std::unique_ptr<CollectionRegistry::RegistrationHandle> registration_handle_;
Dgauge.h156 registration_handle_(CollectionRegistry::Default()->Register( in Gauge()
172 std::unique_ptr<CollectionRegistry::RegistrationHandle> registration_handle_;