/art/libprofile/profile/ |
D | profile_compilation_info.cc | 55 const uint8_t ProfileCompilationInfo::kProfileMagic[] = { 'p', 'r', 'o', '\0' }; 59 const uint8_t ProfileCompilationInfo::kProfileVersion[] = { '0', '1', '0', '\0' }; 60 const uint8_t ProfileCompilationInfo::kProfileVersionForBootImage[] = { '0', '1', '2', '\0' }; 62 static_assert(sizeof(ProfileCompilationInfo::kProfileVersion) == 4, 64 static_assert(sizeof(ProfileCompilationInfo::kProfileVersionForBootImage) == 4, 69 const char ProfileCompilationInfo::kDexMetadataProfileEntry[] = "primary.prof"; 74 const ProfileCompilationInfo::ProfileSampleAnnotation 75 ProfileCompilationInfo::ProfileSampleAnnotation::kNone = 76 ProfileCompilationInfo::ProfileSampleAnnotation(""); 90 static_assert(sizeof(ProfileCompilationInfo::kIndividualInlineCacheSize) == sizeof(uint8_t), [all …]
|
D | profile_compilation_info_test.cc | 34 using Hotness = ProfileCompilationInfo::MethodHotness; 36 using ProfileSampleAnnotation = ProfileCompilationInfo::ProfileSampleAnnotation; 37 using ProfileIndexType = ProfileCompilationInfo::ProfileIndexType; 38 using ProfileIndexTypeRegular = ProfileCompilationInfo::ProfileIndexTypeRegular; 72 bool AddMethod(ProfileCompilationInfo* info, in AddMethod() 82 bool AddMethod(ProfileCompilationInfo* info, in AddMethod() 93 bool AddClass(ProfileCompilationInfo* info, in AddClass() 105 std::unique_ptr<ProfileCompilationInfo::OfflineProfileMethodInfo> GetMethod( in GetMethod() 106 const ProfileCompilationInfo& info, in GetMethod() 114 ProfileCompilationInfo::InlineCacheMap* CreateInlineCacheMap() { in CreateInlineCacheMap() [all …]
|
D | profile_compilation_info.h | 74 class ProfileCompilationInfo { 278 friend class ProfileCompilationInfo; variable 326 ProfileCompilationInfo(); 327 explicit ProfileCompilationInfo(bool for_boot_image); 328 explicit ProfileCompilationInfo(ArenaPool* arena_pool); 329 ProfileCompilationInfo(ArenaPool* arena_pool, bool for_boot_image); 331 ~ProfileCompilationInfo(); 425 bool MergeWith(const ProfileCompilationInfo& info, bool merge_classes = true); 494 bool SameVersion(const ProfileCompilationInfo& other) const; 497 bool Equals(const ProfileCompilationInfo& other); [all …]
|
/art/profman/ |
D | profile_assistant.h | 85 const ProfileCompilationInfo::ProfileLoadFilterFn& filter_fn 86 = ProfileCompilationInfo::ProfileFilterFnAcceptAll, 92 const ProfileCompilationInfo::ProfileLoadFilterFn& filter_fn 93 = ProfileCompilationInfo::ProfileFilterFnAcceptAll, 100 const ProfileCompilationInfo::ProfileLoadFilterFn& filter_fn,
|
D | profile_assistant_test.cc | 37 using Hotness = ProfileCompilationInfo::MethodHotness; 58 bool AddMethod(ProfileCompilationInfo* info, in AddMethod() 67 bool AddMethod(ProfileCompilationInfo* info, in AddMethod() 71 const ProfileCompilationInfo::ProfileSampleAnnotation& annotation in AddMethod() 72 = ProfileCompilationInfo::ProfileSampleAnnotation::kNone) { in AddMethod() 78 bool AddClass(ProfileCompilationInfo* info, in AddClass() 90 ProfileCompilationInfo* info, in SetupProfile() 121 ProfileCompilationInfo* info) { in SetupBasicProfile() 177 void CheckProfileInfo(ScratchFile& file, const ProfileCompilationInfo& info) { in CheckProfileInfo() 178 ProfileCompilationInfo file_info; in CheckProfileInfo() [all …]
|
D | profile_assistant.cc | 35 const ProfileCompilationInfo::ProfileLoadFilterFn& filter_fn, in ProcessProfilesInternal() 39 ProfileCompilationInfo info(options.IsBootImageMerge()); in ProcessProfilesInternal() 58 ProfileCompilationInfo cur_info; in ProcessProfilesInternal() 159 const ProfileCompilationInfo::ProfileLoadFilterFn& filter_fn, in ProcessProfiles() 190 const ProfileCompilationInfo::ProfileLoadFilterFn& filter_fn, in ProcessProfiles()
|
D | profman.cc | 61 using ProfileSampleAnnotation = ProfileCompilationInfo::ProfileSampleAnnotation; 471 const ProfileCompilationInfo::ProfileLoadFilterFn& filter_fn = in ProcessProfiles() 478 … std::string base_key = ProfileCompilationInfo::GetBaseKeyFromAugmentedKey(profile_key); in ProcessProfiles() 508 profile_filter_keys->emplace(ProfileCompilationInfo::GetProfileDexFileBaseKey( in GetProfileFilterKeyFromApks() 612 std::unique_ptr<const ProfileCompilationInfo> LoadProfile(const std::string& filename, int fd) { in LoadProfile() 625 std::unique_ptr<ProfileCompilationInfo> info(new ProfileCompilationInfo); in LoadProfile() 638 std::unique_ptr<const ProfileCompilationInfo> info(LoadProfile(filename, fd)); in DumpOneProfile() 731 ProfileCompilationInfo profile_info; in GetClassNamesAndMethods() 1039 /*out*/ProfileCompilationInfo* profile) { in ProcessLine() 1095 flags |= ProfileCompilationInfo::MethodHotness::kFlagHot; in ProcessLine() [all …]
|
D | boot_image_profile.h | 30 class ProfileCompilationInfo; variable
|
D | boot_image_profile.cc | 33 using Hotness = ProfileCompilationInfo::MethodHotness; 213 ProfileCompilationInfo profile; in GenerateBootImageProfile()
|
/art/runtime/jit/ |
D | profiling_info_test.cc | 37 using Hotness = ProfileCompilationInfo::MethodHotness; 72 ProfileCompilationInfo info; in SaveProfilingInfo() 85 ProfileCompilationInfo file_profile; in SaveProfilingInfo() 104 ProfileCompilationInfo info; in SaveProfilingInfoWithFakeInlineCaches() 151 ProfileCompilationInfo::InlineCacheMap* CreateInlineCacheMap() { in CreateInlineCacheMap() 152 used_inline_caches.emplace_back(new ProfileCompilationInfo::InlineCacheMap( in CreateInlineCacheMap() 157 ProfileCompilationInfo::OfflineProfileMethodInfo ConvertProfileMethodInfo( in ConvertProfileMethodInfo() 159 ProfileCompilationInfo::InlineCacheMap* ic_map = CreateInlineCacheMap(); in ConvertProfileMethodInfo() 160 ProfileCompilationInfo::OfflineProfileMethodInfo offline_pmi(ic_map); in ConvertProfileMethodInfo() 163 ProfileCompilationInfo::DexPcData& dex_pc_data = in ConvertProfileMethodInfo() [all …]
|
D | profile_saver_test.cc | 27 using Hotness = ProfileCompilationInfo::MethodHotness; 58 ProfileCompilationInfo::ProfileSampleAnnotation GetProfileSampleAnnotation() { in GetProfileSampleAnnotation() 80 ASSERT_EQ(ProfileCompilationInfo::ProfileSampleAnnotation::kNone, in TEST_F() 85 ProfileCompilationInfo::ProfileSampleAnnotation expected("unknown"); in TEST_F() 91 ProfileCompilationInfo::ProfileSampleAnnotation expected("test.package"); in TEST_F()
|
D | profile_saver.h | 107 ProfileCompilationInfo::ProfileSampleAnnotation GetProfileSampleAnnotation(); 110 ProfileCompilationInfo::MethodHotness::Flag AnnotateSampleFlags(uint32_t flags); 139 SafeMap<std::string, ProfileCompilationInfo*> profile_cache_;
|
D | profile_saver.cc | 48 using Hotness = ProfileCompilationInfo::MethodHotness; 53 static_assert(ProfileCompilationInfo::kIndividualInlineCacheSize == 448 new ProfileCompilationInfo( in FetchAndCacheResolvedClassesAndMethods() 451 ProfileCompilationInfo* cached_info = info_it->second; in FetchAndCacheResolvedClassesAndMethods() 556 ProfileCompilationInfo info(Runtime::Current()->GetArenaPool()); in ProcessProfilingInfo() 629 ProfileCompilationInfo *cached_info = profile_cache_it->second; in ProcessProfilingInfo() 734 code_paths_keys.insert(ProfileCompilationInfo::GetProfileDexFileBaseKey(location)); in Start() 739 const std::string key = ProfileCompilationInfo::GetProfileDexFileBaseKey(location); in Start() 931 ProfileCompilationInfo info(Runtime::Current()->GetArenaPool()); in HasSeenMethod() 935 const ProfileCompilationInfo::MethodHotness hotness = info.GetMethodHotness(ref); in HasSeenMethod() [all …]
|
/art/dexlayout/ |
D | dex_visualize.h | 31 class ProfileCompilationInfo; variable 39 ProfileCompilationInfo* profile_info);
|
D | dexlayout.h | 41 class ProfileCompilationInfo; variable 106 ProfileCompilationInfo* info, in DexLayout() 190 ProfileCompilationInfo* info_;
|
D | dexlayout_main.cc | 191 std::unique_ptr<ProfileCompilationInfo> profile_info; in DexlayoutDriver() 203 profile_info.reset(new ProfileCompilationInfo()); in DexlayoutDriver()
|
D | dexlayout_test.cc | 344 ProfileCompilationInfo pfi; in CreateProfile() 350 flags |= ProfileCompilationInfo::MethodHotness::kFlagHot; in CreateProfile() 353 flags |= ProfileCompilationInfo::MethodHotness::kFlagStartup; in CreateProfile() 357 static_cast<ProfileCompilationInfo::MethodHotness::Flag>(flags)); in CreateProfile()
|
/art/dex2oat/ |
D | common_compiler_driver_test.h | 32 class ProfileCompilationInfo; variable 61 virtual ProfileCompilationInfo* GetProfileCompilationInfo();
|
D | common_compiler_driver_test.cc | 137 ProfileCompilationInfo* CommonCompilerDriverTest::GetProfileCompilationInfo() { in GetProfileCompilationInfo()
|
/art/dex2oat/driver/ |
D | compiler_driver_test.cc | 200 ProfileCompilationInfo* GetProfileCompilationInfo() override { in GetProfileCompilationInfo() 204 ProfileCompilationInfo info; in GetProfileCompilationInfo() 207 ProfileCompilationInfo::MethodHotness::kFlagHot); in GetProfileCompilationInfo() 209 ProfileCompilationInfo::MethodHotness::kFlagHot); in GetProfileCompilationInfo() 262 ProfileCompilationInfo profile_info_;
|
/art/compiler/driver/ |
D | compiler_options.h | 49 class ProfileCompilationInfo; variable 233 const ProfileCompilationInfo* GetProfileCompilationInfo() const { in GetProfileCompilationInfo() 413 const ProfileCompilationInfo* profile_compilation_info_;
|
/art/test/595-profile-saving/ |
D | profile-saving.cc | 72 ProfileCompilationInfo info; in Java_Main_isForBootImage()
|
/art/dex2oat/linker/ |
D | oat_writer_test.cc | 133 ProfileCompilationInfo* profile_compilation_info) { in WriteElf() 155 ProfileCompilationInfo* profile_compilation_info = nullptr) { in WriteElf() 644 std::unique_ptr<ProfileCompilationInfo> in TestDexFileInput() 645 profile_compilation_info(use_profile ? new ProfileCompilationInfo() : nullptr); in TestDexFileInput() 681 std::unique_ptr<ProfileCompilationInfo> in TestDexFileInput() 682 profile_compilation_info(use_profile ? new ProfileCompilationInfo() : nullptr); in TestDexFileInput() 891 std::unique_ptr<ProfileCompilationInfo> profile_compilation_info(new ProfileCompilationInfo()); in TestZipFileInputWithEmptyDex()
|
D | oat_writer.h | 48 class ProfileCompilationInfo; variable 125 ProfileCompilationInfo* info, 542 ProfileCompilationInfo* profile_compilation_info_;
|
/art/runtime/ |
D | common_runtime_test.cc | 606 ProfileCompilationInfo profile; in GenerateProfile() 610 uint32_t flags = ProfileCompilationInfo::MethodHotness::kFlagHot | in GenerateProfile() 611 ProfileCompilationInfo::MethodHotness::kFlagStartup; in GenerateProfile() 614 static_cast<ProfileCompilationInfo::MethodHotness::Flag>(flags))); in GenerateProfile()
|