Searched refs:CollectionRegistry (Results 1 – 9 of 9) 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()89 void CollectionRegistry::Unregister(const AbstractMetricDef* const metric_def) { in Unregister()94 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_;285 const CollectionRegistry::CollectionInfo& collection_info);
35 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 …]
114 registration_handle_(CollectionRegistry::Default()->Register( in Counter()139 std::unique_ptr<CollectionRegistry::RegistrationHandle> registration_handle_;
155 registration_handle_(CollectionRegistry::Default()->Register( in Sampler()185 std::unique_ptr<CollectionRegistry::RegistrationHandle> registration_handle_;
143 registration_handle_(CollectionRegistry::Default()->Register( in PercentileSampler()189 std::unique_ptr<CollectionRegistry::RegistrationHandle> registration_handle_;
166 registration_handle_(CollectionRegistry::Default()->Register( in Gauge()191 std::unique_ptr<CollectionRegistry::RegistrationHandle> registration_handle_;
50 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()
276 auto* collection_registry = monitoring::CollectionRegistry::Default(); in CollectMetrics()277 monitoring::CollectionRegistry::CollectMetricsOptions options; in CollectMetrics()