/art/runtime/jit/ |
D | profile_compilation_info_test.cc | 38 using Hotness = ProfileCompilationInfo::MethodHotness; 70 ProfileCompilationInfo* info) { in AddMethod() 81 const ProfileCompilationInfo::OfflineProfileMethodInfo& pmi, in AddMethod() 82 ProfileCompilationInfo* info) { in AddMethod() 90 ProfileCompilationInfo* info) { in AddClass() 105 ProfileCompilationInfo info; in SaveProfilingInfo() 118 ProfileCompilationInfo file_profile; in SaveProfilingInfo() 137 ProfileCompilationInfo info; in SaveProfilingInfoWithFakeInlineCaches() 184 ProfileCompilationInfo::InlineCacheMap* CreateInlineCacheMap() { in CreateInlineCacheMap() 185 used_inline_caches.emplace_back(new ProfileCompilationInfo::InlineCacheMap( in CreateInlineCacheMap() [all …]
|
D | profile_compilation_info.cc | 54 const uint8_t ProfileCompilationInfo::kProfileMagic[] = { 'p', 'r', 'o', '\0' }; 58 const uint8_t ProfileCompilationInfo::kProfileVersion[] = { '0', '1', '0', '\0' }; 62 const char* ProfileCompilationInfo::kDexMetadataProfileEntry = "primary.prof"; 85 ProfileCompilationInfo::ProfileCompilationInfo(ArenaPool* custom_arena_pool) in ProfileCompilationInfo() function in art::ProfileCompilationInfo 92 ProfileCompilationInfo::ProfileCompilationInfo() in ProfileCompilationInfo() function in art::ProfileCompilationInfo 99 ProfileCompilationInfo::~ProfileCompilationInfo() { in ~ProfileCompilationInfo() 104 void ProfileCompilationInfo::DexPcData::AddClass(uint16_t dex_profile_idx, in AddClass() 136 std::string ProfileCompilationInfo::GetProfileDexFileKey(const std::string& dex_location) { in GetProfileDexFileKey() 147 bool ProfileCompilationInfo::AddMethodIndex(MethodHotness::Flag flags, const MethodReference& ref) { in AddMethodIndex() 155 bool ProfileCompilationInfo::AddMethodIndex(MethodHotness::Flag flags, in AddMethodIndex() [all …]
|
D | profile_compilation_info.h | 70 class ProfileCompilationInfo { 220 friend class ProfileCompilationInfo; variable 238 ProfileCompilationInfo(); 239 explicit ProfileCompilationInfo(ArenaPool* arena_pool); 241 ~ProfileCompilationInfo(); 341 bool MergeWith(const ProfileCompilationInfo& info, bool merge_classes = true); 394 bool Equals(const ProfileCompilationInfo& other); 420 static bool Equals(const ProfileCompilationInfo::OfflineProfileMethodInfo& pmi1, 421 const ProfileCompilationInfo::OfflineProfileMethodInfo& pmi2);
|
D | profile_saver.cc | 415 using Hotness = ProfileCompilationInfo::MethodHotness; in FetchAndCacheResolvedClassesAndMethods() 424 new ProfileCompilationInfo(Runtime::Current()->GetArenaPool())); in FetchAndCacheResolvedClassesAndMethods() 426 ProfileCompilationInfo* cached_info = info_it->second; in FetchAndCacheResolvedClassesAndMethods() 518 ProfileCompilationInfo info(Runtime::Current()->GetArenaPool()); in ProcessProfilingInfo() 530 ProfileCompilationInfo::MethodHotness::kFlagPostStartup)) { in ProcessProfilingInfo() 572 ProfileCompilationInfo *cached_info = profile_cache_it->second; in ProcessProfilingInfo() 671 code_paths_keys.insert(ProfileCompilationInfo::GetProfileDexFileKey(location)); in Start() 676 const std::string key = ProfileCompilationInfo::GetProfileDexFileKey(location); in Start() 843 ProfileCompilationInfo info(Runtime::Current()->GetArenaPool()); in HasSeenMethod() 847 ProfileCompilationInfo::MethodHotness hotness = info.GetMethodHotness(ref); in HasSeenMethod()
|
D | profile_saver.h | 134 SafeMap<std::string, ProfileCompilationInfo*> profile_cache_;
|
/art/profman/ |
D | profile_assistant.h | 57 const ProfileCompilationInfo::ProfileLoadFilterFn& filter_fn 58 = ProfileCompilationInfo::ProfileFilterFnAcceptAll); 63 const ProfileCompilationInfo::ProfileLoadFilterFn& filter_fn 64 = ProfileCompilationInfo::ProfileFilterFnAcceptAll); 70 const ProfileCompilationInfo::ProfileLoadFilterFn& filter_fn);
|
D | profile_assistant_test.cc | 35 using Hotness = ProfileCompilationInfo::MethodHotness; 51 ProfileCompilationInfo* info, in SetupProfile() 77 ProfileCompilationInfo* info, in SetupProfile() 85 ProfileCompilationInfo::OfflineProfileMethodInfo pmi = in SetupProfile() 121 ProfileCompilationInfo* info) { in SetupBasicProfile() 142 ProfileCompilationInfo::InlineCacheMap* CreateInlineCacheMap() { in CreateInlineCacheMap() 143 used_inline_caches.emplace_back(new ProfileCompilationInfo::InlineCacheMap( in CreateInlineCacheMap() 148 ProfileCompilationInfo::OfflineProfileMethodInfo GetOfflineProfileMethodInfo( in GetOfflineProfileMethodInfo() 152 ProfileCompilationInfo::InlineCacheMap* ic_map = CreateInlineCacheMap(); in GetOfflineProfileMethodInfo() 153 ProfileCompilationInfo::OfflineProfileMethodInfo pmi(ic_map); in GetOfflineProfileMethodInfo() [all …]
|
D | boot_image_profile.cc | 28 using Hotness = ProfileCompilationInfo::MethodHotness; 32 const std::vector<std::unique_ptr<const ProfileCompilationInfo>>& profiles, in GenerateBootImageProfile() 35 ProfileCompilationInfo* out_profile) { in GenerateBootImageProfile() 36 for (const std::unique_ptr<const ProfileCompilationInfo>& profile : profiles) { in GenerateBootImageProfile() 54 std::set<std::pair<const ProfileCompilationInfo*, dex::TypeIndex>> inferred_classes; in GenerateBootImageProfile() 59 for (const std::unique_ptr<const ProfileCompilationInfo>& profile : profiles) { in GenerateBootImageProfile() 112 for (const std::unique_ptr<const ProfileCompilationInfo>& profile : profiles) { in GenerateBootImageProfile()
|
D | boot_image_profile.h | 28 class ProfileCompilationInfo; variable 49 const std::vector<std::unique_ptr<const ProfileCompilationInfo>>& profiles, 52 ProfileCompilationInfo* out_profile);
|
D | profile_assistant.cc | 35 const ProfileCompilationInfo::ProfileLoadFilterFn& filter_fn) { in ProcessProfilesInternal() 38 ProfileCompilationInfo info; in ProcessProfilesInternal() 51 ProfileCompilationInfo cur_info; in ProcessProfilesInternal() 127 const ProfileCompilationInfo::ProfileLoadFilterFn& filter_fn) { in ProcessProfiles() 156 const ProfileCompilationInfo::ProfileLoadFilterFn& filter_fn) { in ProcessProfiles()
|
D | profman.cc | 340 const ProfileCompilationInfo::ProfileLoadFilterFn& filter_fn = in ProcessProfiles() 374 profile_filter_keys->emplace(ProfileCompilationInfo::GetProfileDexFileKey( in GetProfileFilterKeyFromApks() 473 std::unique_ptr<const ProfileCompilationInfo> LoadProfile(const std::string& filename, int fd) { in LoadProfile() 481 std::unique_ptr<ProfileCompilationInfo> info(new ProfileCompilationInfo); in LoadProfile() 494 std::unique_ptr<const ProfileCompilationInfo> info(LoadProfile(filename, fd)); in DumpOneProfile() 576 ProfileCompilationInfo profile_info; in GetClassNamesAndMethods() 869 /*out*/ProfileCompilationInfo* profile) { in ProcessLine() 901 flags |= ProfileCompilationInfo::MethodHotness::kFlagHot; in ProcessLine() 904 flags |= ProfileCompilationInfo::MethodHotness::kFlagStartup; in ProcessLine() 907 flags |= ProfileCompilationInfo::MethodHotness::kFlagPostStartup; in ProcessLine() [all …]
|
/art/dexlayout/ |
D | dex_visualize.h | 31 class ProfileCompilationInfo; variable 39 ProfileCompilationInfo* profile_info);
|
D | dexlayout.h | 39 class ProfileCompilationInfo; variable 104 ProfileCompilationInfo* info, in DexLayout() 180 ProfileCompilationInfo* info_;
|
D | dexlayout_main.cc | 183 std::unique_ptr<ProfileCompilationInfo> profile_info; in DexlayoutDriver() 190 profile_info.reset(new ProfileCompilationInfo()); in DexlayoutDriver()
|
D | dexlayout_test.cc | 343 ProfileCompilationInfo pfi; in CreateProfile() 350 flags |= ProfileCompilationInfo::MethodHotness::kFlagHot; in CreateProfile() 353 flags |= ProfileCompilationInfo::MethodHotness::kFlagStartup; in CreateProfile() 356 pfi.AddMethodIndex(static_cast<ProfileCompilationInfo::MethodHotness::Flag>(flags), in CreateProfile()
|
D | dex_visualize.cc | 176 ProfileCompilationInfo* profile_info) { in DumpMethodItem() 248 ProfileCompilationInfo* profile_info) { in VisualizeDexLayout()
|
/art/compiler/ |
D | common_compiler_test.h | 36 class ProfileCompilationInfo; variable 78 virtual ProfileCompilationInfo* GetProfileCompilationInfo();
|
D | common_compiler_test.cc | 156 ProfileCompilationInfo* CommonCompilerTest::GetProfileCompilationInfo() { in GetProfileCompilationInfo()
|
/art/dex2oat/ |
D | dex2oat_image_test.cc | 325 ProfileCompilationInfo profile; in TEST_F() 327 uint32_t flags = ProfileCompilationInfo::MethodHotness::kFlagHot | in TEST_F() 328 ProfileCompilationInfo::MethodHotness::kFlagStartup; in TEST_F() 330 static_cast<ProfileCompilationInfo::MethodHotness::Flag>(flags), in TEST_F()
|
/art/compiler/driver/ |
D | compiler_driver_test.cc | 242 ProfileCompilationInfo* GetProfileCompilationInfo() OVERRIDE { in GetProfileCompilationInfo() 246 ProfileCompilationInfo info; in GetProfileCompilationInfo() 248 profile_info_.AddMethodIndex(ProfileCompilationInfo::MethodHotness::kFlagHot, in GetProfileCompilationInfo() 250 profile_info_.AddMethodIndex(ProfileCompilationInfo::MethodHotness::kFlagHot, in GetProfileCompilationInfo() 304 ProfileCompilationInfo profile_info_;
|
D | compiler_driver.h | 73 class ProfileCompilationInfo; variable 107 const ProfileCompilationInfo* profile_compilation_info); 367 const ProfileCompilationInfo* GetProfileCompilationInfo() const { in GetProfileCompilationInfo() 539 const ProfileCompilationInfo* const profile_compilation_info_;
|
/art/dex2oat/linker/ |
D | oat_writer.h | 46 class ProfileCompilationInfo; variable 123 ProfileCompilationInfo* info, 522 ProfileCompilationInfo* profile_compilation_info_;
|
D | oat_writer_test.cc | 148 ProfileCompilationInfo* profile_compilation_info) { in WriteElf() 618 std::unique_ptr<ProfileCompilationInfo> in TestDexFileInput() 619 profile_compilation_info(use_profile ? new ProfileCompilationInfo() : nullptr); in TestDexFileInput() 870 std::unique_ptr<ProfileCompilationInfo> profile_compilation_info(new ProfileCompilationInfo()); in TestZipFileInputWithEmptyDex()
|
/art/compiler/optimizing/ |
D | inliner.h | 155 const ProfileCompilationInfo::OfflineProfileMethodInfo& offline_profile,
|
D | inliner.cc | 666 const ProfileCompilationInfo* pci = compiler_driver_->GetProfileCompilationInfo(); in GetInlineCacheAOT() 671 std::unique_ptr<ProfileCompilationInfo::OfflineProfileMethodInfo> offline_profile = in GetInlineCacheAOT() 692 const ProfileCompilationInfo::OfflineProfileMethodInfo& offline_profile, in ExtractClassesFromOfflineProfile() 700 const ProfileCompilationInfo::DexPcData& dex_pc_data = it->second; in ExtractClassesFromOfflineProfile() 736 for (const ProfileCompilationInfo::ClassReference& class_ref : dex_pc_data.classes) { in ExtractClassesFromOfflineProfile()
|