Home
last modified time | relevance | path

Searched refs:Hotness (Results 1 – 8 of 8) sorted by relevance

/art/runtime/jit/
Dprofile_saver_test.cc27 using Hotness = ProfileCompilationInfo::MethodHotness; typedef
62 Hotness::Flag AnnotateSampleFlags(uint32_t flags) { in AnnotateSampleFlags()
96 Hotness::Flag expected_flag = Is64BitInstructionSet(Runtime::Current()->GetInstructionSet()) in TEST_F()
97 ? Hotness::kFlag64bit in TEST_F()
98 : Hotness::kFlag32bit; in TEST_F()
99 Hotness::Flag actual = AnnotateSampleFlags(Hotness::kFlagHot); in TEST_F()
101 ASSERT_EQ(static_cast<Hotness::Flag>(expected_flag | Hotness::kFlagHot), actual); in TEST_F()
105 Hotness::Flag actual = AnnotateSampleFlags(Hotness::kFlagHot); in TEST_F()
107 ASSERT_EQ(Hotness::kFlagHot, actual); in TEST_F()
Dprofiling_info_test.cc37 using Hotness = ProfileCompilationInfo::MethodHotness; typedef
71 Hotness::Flag flags) { in SaveProfilingInfo()
102 Hotness::Flag flags, in SaveProfilingInfoWithFakeInlineCaches()
215 static_cast<Hotness::Flag>(Hotness::kFlagHot | Hotness::kFlagPostStartup))); in TEST_F()
224 Hotness h = info1.GetMethodHotness(MethodReference(m->GetDexFile(), m->GetDexMethodIndex())); in TEST_F()
235 static_cast<Hotness::Flag>(Hotness::kFlagHot | Hotness::kFlagStartup))); in TEST_F()
245 Hotness h = info2.GetMethodHotness(MethodReference(m->GetDexFile(), m->GetDexMethodIndex())); in TEST_F()
250 Hotness h = info2.GetMethodHotness(MethodReference(m->GetDexFile(), m->GetDexMethodIndex())); in TEST_F()
275 static_cast<Hotness::Flag>(Hotness::kFlagHot | Hotness::kFlagStartup), in TEST_F()
286 Hotness h = info.GetMethodHotness(method_ref); in TEST_F()
Dprofile_saver.cc48 using Hotness = ProfileCompilationInfo::MethodHotness; typedef
465 uint32_t flags = Hotness::kFlagHot; in FetchAndCacheResolvedClassesAndMethods()
466 flags |= startup ? Hotness::kFlagStartup : Hotness::kFlagPostStartup; in FetchAndCacheResolvedClassesAndMethods()
484 AnnotateSampleFlags(startup ? Hotness::kFlagStartup : Hotness::kFlagPostStartup), in FetchAndCacheResolvedClassesAndMethods()
581 AnnotateSampleFlags(Hotness::kFlagHot | Hotness::kFlagPostStartup), in ProcessProfilingInfo()
991 Hotness::Flag ProfileSaver::AnnotateSampleFlags(uint32_t flags) { in AnnotateSampleFlags()
997 ? Hotness::kFlag64bit in AnnotateSampleFlags()
998 : Hotness::kFlag32bit; in AnnotateSampleFlags()
1000 return static_cast<Hotness::Flag>(flags | extra_flags); in AnnotateSampleFlags()
/art/libprofile/profile/
Dprofile_compilation_info_test.cc34 using Hotness = ProfileCompilationInfo::MethodHotness; typedef
43 WhichPowerOf2(static_cast<uint32_t>(Hotness::kFlagLastBoot));
45 WhichPowerOf2(static_cast<uint32_t>(Hotness::kFlagLastRegular));
75 Hotness::Flag flags = Hotness::kFlagHot, in AddMethod()
89 Hotness::kFlagHot, in AddMethod()
244 static_cast<Hotness::Flag>(1 << flag_index))); in SizeStressTest()
253 static_cast<Hotness::Flag>(1 << flag_index))); in SizeStressTest()
772 AddMethod(&test_info, dex1, 1, Hotness::kFlagStartup); in TEST_F()
773 AddMethod(&test_info, dex1, 5, Hotness::kFlagPostStartup); in TEST_F()
774 AddMethod(&test_info, dex2, 2, Hotness::kFlagStartup); in TEST_F()
[all …]
/art/profman/
Dboot_image_profile.cc33 using Hotness = ProfileCompilationInfo::MethodHotness; typedef
89 if (metadata.HasFlagSet(Hotness::kFlagHot)) { in MethodToProfileFormat()
92 if (metadata.HasFlagSet(Hotness::kFlagStartup)) { in MethodToProfileFormat()
95 if (metadata.HasFlagSet(Hotness::kFlagPostStartup)) { in MethodToProfileFormat()
234 && ((metadata.GetFlags() & Hotness::Flag::kFlagStartup) != 0)) { in GenerateBootImageProfile()
235 metadata.AddFlag(Hotness::Flag::kFlagHot); in GenerateBootImageProfile()
Dprofile_assistant_test.cc37 using Hotness = ProfileCompilationInfo::MethodHotness; typedef
62 Hotness::Flag flags) { in AddMethod()
70 Hotness::Flag flags, in AddMethod()
97 Hotness::Flag flags = static_cast<Hotness::Flag>( in SetupProfile()
98 Hotness::kFlagHot | Hotness::kFlagPostStartup); in SetupProfile()
123 AddMethod(info, dex, idx, Hotness::kFlagHot); in SetupBasicProfile()
126 AddMethod(info, dex, idx, Hotness::kFlagStartup); in SetupBasicProfile()
129 AddMethod(info, dex, idx, Hotness::kFlagPostStartup); in SetupBasicProfile()
1493 AddMethod(&info, &d1, 0, Hotness::kFlagHot, psa1); in TEST_F()
1494 AddMethod(&info, &d2, 0, Hotness::kFlagHot, psa2); in TEST_F()
/art/dex2oat/
Ddex2oat_test.cc1365 using Hotness = ProfileCompilationInfo::MethodHotness; in TEST_F() typedef
1392 static_cast<Hotness::Flag>(Hotness::kFlagHot | Hotness::kFlagStartup), in TEST_F()
1397 Hotness::kFlagStartup, in TEST_F()
1402 Hotness::kFlagPostStartup, in TEST_F()
2316 using Hotness = ProfileCompilationInfo::MethodHotness; in TEST_F() typedef
2372 info.AddMethodsForDex(Hotness::kFlagStartup, dex_file.get(), methods.begin(), methods.end()); in TEST_F()
/art/dexlayout/
Ddexlayout.cc1760 using Hotness = ProfileCompilationInfo::MethodHotness; in LayoutCodeItems() typedef
1761 Hotness hotness = info_->GetMethodHotness(MethodReference(dex_file, method_id->GetIndex())); in LayoutCodeItems()
1767 } else if (is_startup_clinit || hotness.GetFlags() == Hotness::kFlagStartup) { in LayoutCodeItems()