Home
last modified time | relevance | path

Searched refs:ProfileCompilationInfo (Results 1 – 25 of 28) sorted by relevance

12

/art/runtime/jit/
Dprofile_compilation_info_test.cc38 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 …]
Dprofile_compilation_info.cc54 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 …]
Dprofile_compilation_info.h70 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);
Dprofile_saver.cc415 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()
Dprofile_saver.h134 SafeMap<std::string, ProfileCompilationInfo*> profile_cache_;
/art/profman/
Dprofile_assistant.h57 const ProfileCompilationInfo::ProfileLoadFilterFn& filter_fn
58 = ProfileCompilationInfo::ProfileFilterFnAcceptAll);
63 const ProfileCompilationInfo::ProfileLoadFilterFn& filter_fn
64 = ProfileCompilationInfo::ProfileFilterFnAcceptAll);
70 const ProfileCompilationInfo::ProfileLoadFilterFn& filter_fn);
Dprofile_assistant_test.cc35 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 …]
Dboot_image_profile.cc28 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()
Dboot_image_profile.h28 class ProfileCompilationInfo; variable
49 const std::vector<std::unique_ptr<const ProfileCompilationInfo>>& profiles,
52 ProfileCompilationInfo* out_profile);
Dprofile_assistant.cc35 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()
Dprofman.cc340 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/
Ddex_visualize.h31 class ProfileCompilationInfo; variable
39 ProfileCompilationInfo* profile_info);
Ddexlayout.h39 class ProfileCompilationInfo; variable
104 ProfileCompilationInfo* info, in DexLayout()
180 ProfileCompilationInfo* info_;
Ddexlayout_main.cc183 std::unique_ptr<ProfileCompilationInfo> profile_info; in DexlayoutDriver()
190 profile_info.reset(new ProfileCompilationInfo()); in DexlayoutDriver()
Ddexlayout_test.cc343 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()
Ddex_visualize.cc176 ProfileCompilationInfo* profile_info) { in DumpMethodItem()
248 ProfileCompilationInfo* profile_info) { in VisualizeDexLayout()
/art/compiler/
Dcommon_compiler_test.h36 class ProfileCompilationInfo; variable
78 virtual ProfileCompilationInfo* GetProfileCompilationInfo();
Dcommon_compiler_test.cc156 ProfileCompilationInfo* CommonCompilerTest::GetProfileCompilationInfo() { in GetProfileCompilationInfo()
/art/dex2oat/
Ddex2oat_image_test.cc325 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/
Dcompiler_driver_test.cc242 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_;
Dcompiler_driver.h73 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/
Doat_writer.h46 class ProfileCompilationInfo; variable
123 ProfileCompilationInfo* info,
522 ProfileCompilationInfo* profile_compilation_info_;
Doat_writer_test.cc148 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/
Dinliner.h155 const ProfileCompilationInfo::OfflineProfileMethodInfo& offline_profile,
Dinliner.cc666 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()

12