Searched refs:MetricsReporter (Results 1 – 6 of 6) sorted by relevance
37 std::unique_ptr<MetricsReporter> MetricsReporter::Create( in Create()40 return std::unique_ptr<MetricsReporter>{new MetricsReporter{std::move(config), runtime}}; in Create()43 MetricsReporter::MetricsReporter(const ReportingConfig& config, Runtime* runtime) in MetricsReporter() function in art::metrics::MetricsReporter49 MetricsReporter::~MetricsReporter() { MaybeStopBackgroundThread(); } in ~MetricsReporter()51 void MetricsReporter::ReloadConfig(const ReportingConfig& config) { in ReloadConfig()57 bool MetricsReporter::IsMetricsReportingEnabled(const SessionData& session_data) const { in IsMetricsReportingEnabled()61 bool MetricsReporter::MaybeStartBackgroundThread(SessionData session_data) { in MaybeStartBackgroundThread()71 thread_.emplace(&MetricsReporter::BackgroundThreadRun, this); in MaybeStartBackgroundThread()75 void MetricsReporter::MaybeStopBackgroundThread() { in MaybeStopBackgroundThread()83 void MetricsReporter::NotifyStartupCompleted() { in NotifyStartupCompleted()[all …]
97 class MetricsReporter {100 static std::unique_ptr<MetricsReporter> Create(const ReportingConfig& config, Runtime* runtime);102 virtual ~MetricsReporter();142 MetricsReporter(const ReportingConfig& config, Runtime* runtime);
35 class MockMetricsReporter : public MetricsReporter {38 : MetricsReporter(config, runtime), art_metrics_(std::make_unique<ArtMetrics>()) {} in MockMetricsReporter()
1542 std::unique_ptr<metrics::MetricsReporter> metrics_reporter_;
2215 metrics_reporter_ = metrics::MetricsReporter::Create(metrics_config, this); in InitMetrics()
131 name != art::metrics::MetricsReporter::kBackgroundThreadName && in ThreadStart()