Lines Matching refs:MetricsReporter
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::MetricsReporter
49 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()
89 void MetricsReporter::NotifyAppInfoUpdated(AppInfo* app_info) { in NotifyAppInfoUpdated()
101 void MetricsReporter::RequestMetricsReport(bool synchronous) { in RequestMetricsReport()
110 void MetricsReporter::SetCompilationInfo(CompilationReason compilation_reason, in SetCompilationInfo()
117 void MetricsReporter::BackgroundThreadRun() { in BackgroundThreadRun()
194 void MetricsReporter::MaybeResetTimeout() { in MaybeResetTimeout()
200 ArtMetrics* MetricsReporter::GetMetrics() { return runtime_->GetMetrics(); } in GetMetrics()
202 void MetricsReporter::ReportMetrics() { in ReportMetrics()
215 void MetricsReporter::UpdateSessionInBackends() { in UpdateSessionInBackends()
223 bool MetricsReporter::ShouldReportAtStartup() const { in ShouldReportAtStartup()
229 bool MetricsReporter::ShouldContinueReporting() const { in ShouldContinueReporting()
245 uint32_t MetricsReporter::GetNextPeriodSeconds() { in GetNextPeriodSeconds()