Searched refs:CompilationReason (Results 1 – 10 of 10) sorted by relevance
/art/libartbase/base/metrics/ |
D | metrics_common.cc | 55 .compilation_reason = CompilationReason::kUnknown, in CreateDefault() 293 static_assert(CompilationReasonFromName(CompilationReasonName(CompilationReason::kError)) == 294 CompilationReason::kError); 295 static_assert(CompilationReasonFromName(CompilationReasonName(CompilationReason::kUnknown)) == 296 CompilationReason::kUnknown); 297 static_assert(CompilationReasonFromName(CompilationReasonName(CompilationReason::kFirstBoot)) == 298 CompilationReason::kFirstBoot); 299 static_assert(CompilationReasonFromName(CompilationReasonName(CompilationReason::kBootAfterOTA)) == 300 CompilationReason::kBootAfterOTA); 301 static_assert(CompilationReasonFromName(CompilationReasonName(CompilationReason::kPostBoot)) == [all …]
|
D | metrics_test.cc | 410 .compilation_reason = CompilationReason::kInstall, in TEST() 439 .compilation_reason = CompilationReason::kCmdLine, in TEST() 513 .compilation_reason = CompilationReason::kFirstBoot, in TEST() 557 .compilation_reason = CompilationReason::kFirstBoot, in TEST() 700 ASSERT_EQ(CompilationReasonFromName("unknown"), CompilationReason::kUnknown); in TEST() 701 ASSERT_EQ(CompilationReasonFromName("first-boot"), CompilationReason::kFirstBoot); in TEST() 702 ASSERT_EQ(CompilationReasonFromName("boot-after-ota"), CompilationReason::kBootAfterOTA); in TEST() 703 ASSERT_EQ(CompilationReasonFromName("post-boot"), CompilationReason::kPostBoot); in TEST() 704 ASSERT_EQ(CompilationReasonFromName("install"), CompilationReason::kInstall); in TEST() 705 ASSERT_EQ(CompilationReasonFromName("install-fast"), CompilationReason::kInstallFast); in TEST() [all …]
|
D | metrics.h | 156 enum class CompilationReason { enum 163 case CompilationReason::kind: return kind_name; 165 if (name == (kind_name)) { return CompilationReason::kind; } 167 constexpr const char* CompilationReasonName(CompilationReason reason) { in CompilationReasonName() 173 constexpr CompilationReason CompilationReasonFromName(std::string_view name) { in CompilationReasonFromName() 175 return CompilationReason::kError; in CompilationReasonFromName() 232 CompilationReason compilation_reason;
|
/art/runtime/metrics/ |
D | statsd.cc | 233 constexpr int32_t EncodeCompilationReason(CompilationReason reason) { in EncodeCompilationReason() 235 case CompilationReason::kUnknown: in EncodeCompilationReason() 237 case CompilationReason::kABOTA: in EncodeCompilationReason() 239 case CompilationReason::kBgDexopt: in EncodeCompilationReason() 241 case CompilationReason::kError: in EncodeCompilationReason() 243 case CompilationReason::kFirstBoot: in EncodeCompilationReason() 245 case CompilationReason::kInactive: in EncodeCompilationReason() 247 case CompilationReason::kInstall: in EncodeCompilationReason() 249 case CompilationReason::kInstallWithDexMetadata: in EncodeCompilationReason() 252 case CompilationReason::kShared: in EncodeCompilationReason() [all …]
|
D | reporter.h | 131 void SetCompilationInfo(CompilationReason compilation_reason, 196 CompilationReason compilation_reason;
|
D | reporter_test.cc | 171 CompilationReason reason = CompilationReason::kUnknown) { in VerifyReports() 397 CompilationReason::kInstall); in TEST_F()
|
D | reporter.cc | 110 void MetricsReporter::SetCompilationInfo(CompilationReason compilation_reason, in SetCompilationInfo()
|
/art/dex2oat/ |
D | dex2oat_options.def | 97 DEX2OAT_OPTIONS_KEY (std::string, CompilationReason)
|
D | dex2oat_options.cc | 437 .IntoKey(M::CompilationReason) in CreateDex2oatArgumentParser()
|
D | dex2oat.cc | 1110 AssignIfExists(args, M::CompilationReason, &compilation_reason_); in ParseArgs()
|