/art/runtime/jit/ |
D | profiling_info_test.cc | 37 using Hotness = ProfileCompilationInfo::MethodHotness; typedef 70 return info->AddMethodIndex(Hotness::kFlagHot, in AddMethod() 83 dex_location, checksum, method_index, kMaxMethodIds, pmi, Hotness::kFlagPostStartup); in AddMethod() 103 Hotness::Flag flags) { in SaveProfilingInfo() 134 Hotness::Flag flags, in SaveProfilingInfoWithFakeInlineCaches() 246 profile.GetFilename(), main_methods, resolved_classes, Hotness::kFlagPostStartup)); in TEST_F() 255 Hotness h = info1.GetMethodHotness(MethodReference(m->GetDexFile(), m->GetDexMethodIndex())); in TEST_F() 264 profile.GetFilename(), second_methods, resolved_classes, Hotness::kFlagStartup)); in TEST_F() 274 Hotness h = info2.GetMethodHotness(MethodReference(m->GetDexFile(), m->GetDexMethodIndex())); in TEST_F() 279 Hotness h = info2.GetMethodHotness(MethodReference(m->GetDexFile(), m->GetDexMethodIndex())); in TEST_F() [all …]
|
D | profile_saver.cc | 433 using Hotness = ProfileCompilationInfo::MethodHotness; in FetchAndCacheResolvedClassesAndMethods() typedef 458 uint8_t flags = Hotness::kFlagHot; in FetchAndCacheResolvedClassesAndMethods() 459 flags |= startup ? Hotness::kFlagStartup : Hotness::kFlagPostStartup; in FetchAndCacheResolvedClassesAndMethods() 461 static_cast<Hotness::Flag>(flags), in FetchAndCacheResolvedClassesAndMethods() 475 cached_info->AddMethodsForDex(startup ? Hotness::kFlagStartup : Hotness::kFlagPostStartup, in FetchAndCacheResolvedClassesAndMethods()
|
/art/profman/ |
D | boot_image_profile.cc | 29 using Hotness = ProfileCompilationInfo::MethodHotness; typedef 61 Hotness hotness = profile->GetMethodHotness(ref); in GenerateBootImageProfile() 72 Hotness hotness; in GenerateBootImageProfile() 73 hotness.AddFlag(Hotness::kFlagHot); in GenerateBootImageProfile()
|
D | profile_assistant_test.cc | 36 using Hotness = ProfileCompilationInfo::MethodHotness; typedef 91 Hotness::Flag flags = Hotness::kFlagPostStartup; in SetupProfile() 126 info->AddMethodIndex(Hotness::kFlagHot, dex_location, checksum, idx, number_of_methods); in SetupBasicProfile() 129 info->AddMethodIndex(Hotness::kFlagStartup, dex_location, checksum, idx, number_of_methods); in SetupBasicProfile() 132 info->AddMethodIndex(Hotness::kFlagPostStartup, in SetupBasicProfile()
|
/art/libprofile/profile/ |
D | profile_compilation_info_test.cc | 32 using Hotness = ProfileCompilationInfo::MethodHotness; typedef 48 return info->AddMethodIndex(Hotness::kFlagHot, in AddMethod() 61 dex_location, checksum, method_idx, kMaxMethodIds, pmi, Hotness::kFlagPostStartup); in AddMethod() 689 test_info.AddMethodIndex(Hotness::kFlagStartup, kDex1, kChecksum1, 1, kNumMethods); in TEST_F() 690 test_info.AddMethodIndex(Hotness::kFlagPostStartup, kDex1, kChecksum1, 5, kNumMethods); in TEST_F() 691 test_info.AddMethodIndex(Hotness::kFlagStartup, kDex2, kChecksum2, 2, kNumMethods); in TEST_F() 692 test_info.AddMethodIndex(Hotness::kFlagPostStartup, kDex2, kChecksum2, 4, kNumMethods); in TEST_F() 720 merge_info.AddMethodIndex(Hotness::kFlagStartup, kDex1, kChecksum1, 11, kNumMethods); in TEST_F() 733 info.AddMethodsForDex(static_cast<Hotness::Flag>(Hotness::kFlagHot | Hotness::kFlagStartup), in TEST_F() 737 info.AddMethodsForDex(Hotness::kFlagStartup, in TEST_F() [all …]
|
/art/dex2oat/ |
D | dex2oat_test.cc | 1333 using Hotness = ProfileCompilationInfo::MethodHotness; in TEST_F() typedef 1360 static_cast<Hotness::Flag>(Hotness::kFlagHot | Hotness::kFlagStartup), in TEST_F() 1365 Hotness::kFlagStartup, in TEST_F() 1370 Hotness::kFlagPostStartup, in TEST_F() 2168 using Hotness = ProfileCompilationInfo::MethodHotness; in TEST_F() typedef 2224 info.AddMethodsForDex(Hotness::kFlagStartup, dex_file.get(), methods.begin(), methods.end()); in TEST_F()
|
/art/dexlayout/ |
D | dexlayout.cc | 1759 using Hotness = ProfileCompilationInfo::MethodHotness; in LayoutCodeItems() typedef 1760 Hotness hotness = info_->GetMethodHotness(MethodReference(dex_file, method_id->GetIndex())); in LayoutCodeItems() 1766 } else if (is_startup_clinit || hotness.GetFlags() == Hotness::kFlagStartup) { in LayoutCodeItems()
|