Searched refs:MetricsReporter (Results 1 – 6 of 6) sorted by relevance
36 std::unique_ptr<MetricsReporter> MetricsReporter::Create( in Create()39 return std::unique_ptr<MetricsReporter>{new MetricsReporter{std::move(config), runtime}}; in Create()42 MetricsReporter::MetricsReporter(const ReportingConfig& config, Runtime* runtime) in MetricsReporter() function in art::metrics::MetricsReporter48 MetricsReporter::~MetricsReporter() { MaybeStopBackgroundThread(); } in ~MetricsReporter()50 void MetricsReporter::ReloadConfig(const ReportingConfig& config) { in ReloadConfig()56 bool MetricsReporter::IsMetricsReportingEnabled(const SessionData& session_data) const { in IsMetricsReportingEnabled()60 bool MetricsReporter::MaybeStartBackgroundThread(SessionData session_data) { in MaybeStartBackgroundThread()70 thread_.emplace(&MetricsReporter::BackgroundThreadRun, this); in MaybeStartBackgroundThread()74 void MetricsReporter::MaybeStopBackgroundThread() { in MaybeStopBackgroundThread()82 void MetricsReporter::NotifyStartupCompleted() { in NotifyStartupCompleted()[all …]
93 class MetricsReporter {96 static std::unique_ptr<MetricsReporter> Create(const ReportingConfig& config, Runtime* runtime);98 virtual ~MetricsReporter();138 MetricsReporter(const ReportingConfig& config, Runtime* runtime);
35 class MockMetricsReporter : public MetricsReporter {38 MetricsReporter(config, runtime), in MockMetricsReporter()
1477 std::unique_ptr<metrics::MetricsReporter> metrics_reporter_;
2052 metrics_reporter_ = metrics::MetricsReporter::Create(metrics_config, this); in InitMetrics()
132 name != art::metrics::MetricsReporter::kBackgroundThreadName && in ThreadStart()