Home
last modified time | relevance | path

Searched refs:session_data (Results 1 – 9 of 9) sorted by relevance

/art/libartbase/base/metrics/
Dmetrics_common.cc107 void StringBackend::BeginOrUpdateSession(const SessionData& session_data) { in BeginOrUpdateSession() argument
108 session_data_ = session_data; in BeginOrUpdateSession()
131 const std::optional<SessionData>& session_data) { in FormatBeginReport() argument
135 if (session_data.has_value()) { in FormatBeginReport()
136 os_ << " session_id: " << session_data->session_id << "\n"; in FormatBeginReport()
137 os_ << " uid: " << session_data->uid << "\n"; in FormatBeginReport()
138 os_ << " compilation_reason: " << CompilationReasonName(session_data->compilation_reason) in FormatBeginReport()
140 os_ << " compiler_filter: " << CompilerFilterReportingName(session_data->compiler_filter) in FormatBeginReport()
184 const std::optional<SessionData>& session_data) { in FormatBeginReport() argument
193 if (session_data.has_value()) { in FormatBeginReport()
[all …]
Dmetrics_test.cc387 SessionData session_data { in TEST() local
394 text_formatter.FormatBeginReport(200, session_data); in TEST()
419 SessionData session_data { in TEST() local
426 text_formatter.FormatBeginReport(400, session_data); in TEST()
493 SessionData session_data { in TEST() local
500 xml_formatter.FormatBeginReport(250, session_data); in TEST()
540 SessionData session_data { in TEST() local
547 xml_formatter.FormatBeginReport(160, session_data); in TEST()
Dmetrics.h250 virtual void BeginOrUpdateSession(const SessionData& session_data) = 0;
557 const std::optional<SessionData>& session_data) = 0;
576 const std::optional<SessionData>& session_data) override;
599 const std::optional<SessionData>& session_data) override;
625 void BeginOrUpdateSession(const SessionData& session_data) override;
Dmetrics_test.h36 void BeginOrUpdateSession([[maybe_unused]] const SessionData& session_data) override {} in BeginOrUpdateSession() argument
/art/runtime/metrics/
Dreporter.h108 bool MaybeStartBackgroundThread(SessionData session_data);
145 bool IsMetricsReportingEnabled(const SessionData& session_data) const;
Dreporter.cc57 bool MetricsReporter::IsMetricsReportingEnabled(const SessionData& session_data) const { in IsMetricsReportingEnabled()
58 return session_data.session_id % config_.reporting_num_mods < config_.reporting_mods; in IsMetricsReportingEnabled()
61 bool MetricsReporter::MaybeStartBackgroundThread(SessionData session_data) { in MaybeStartBackgroundThread() argument
64 session_data_ = session_data; in MaybeStartBackgroundThread()
Dreporter_test.cc55 void BeginOrUpdateSession(const SessionData& session_data) override { in BeginOrUpdateSession() argument
56 session_data_ = session_data; in BeginOrUpdateSession()
Dstatsd.cc346 void BeginOrUpdateSession(const SessionData& session_data) override { in BeginOrUpdateSession() argument
347 session_data_ = session_data; in BeginOrUpdateSession()
/art/runtime/
Druntime.cc1193 metrics::SessionData session_data{metrics::SessionData::CreateDefault()}; in InitNonZygoteOrPostFork() local
1196 session_data.session_id = GetRandomNumber<int64_t>(1, std::numeric_limits<int64_t>::max()); in InitNonZygoteOrPostFork()
1198 metrics_reporter_->MaybeStartBackgroundThread(session_data); in InitNonZygoteOrPostFork()