Searched refs:CollectionRegistry (Results 1 – 6 of 6) sorted by relevance
25 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::CollectionRegistry67 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()
125 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);
34 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 …]
104 registration_handle_(CollectionRegistry::Default()->Register( in Counter()120 std::unique_ptr<CollectionRegistry::RegistrationHandle> registration_handle_;
139 registration_handle_(CollectionRegistry::Default()->Register( in Sampler()160 std::unique_ptr<CollectionRegistry::RegistrationHandle> registration_handle_;
156 registration_handle_(CollectionRegistry::Default()->Register( in Gauge()172 std::unique_ptr<CollectionRegistry::RegistrationHandle> registration_handle_;