Home
last modified time | relevance | path

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

12

/art/profman/
Dprofile_assistant.h57 const ProfileCompilationInfo::ProfileLoadFilterFn& filter_fn
58 = ProfileCompilationInfo::ProfileFilterFnAcceptAll,
64 const ProfileCompilationInfo::ProfileLoadFilterFn& filter_fn
65 = ProfileCompilationInfo::ProfileFilterFnAcceptAll,
72 const ProfileCompilationInfo::ProfileLoadFilterFn& filter_fn,
Dprofile_assistant_test.cc36 using Hotness = ProfileCompilationInfo::MethodHotness;
53 ProfileCompilationInfo* info, in SetupProfile()
79 ProfileCompilationInfo* info, in SetupProfile()
87 ProfileCompilationInfo::OfflineProfileMethodInfo pmi = in SetupProfile()
105 ASSERT_TRUE(info->AddClassIndex(ProfileCompilationInfo::GetProfileDexFileKey(dex_location1), in SetupProfile()
123 ProfileCompilationInfo* info) { in SetupBasicProfile()
144 ProfileCompilationInfo::InlineCacheMap* CreateInlineCacheMap() { in CreateInlineCacheMap()
145 used_inline_caches.emplace_back(new ProfileCompilationInfo::InlineCacheMap( in CreateInlineCacheMap()
150 ProfileCompilationInfo::OfflineProfileMethodInfo GetOfflineProfileMethodInfo( in GetOfflineProfileMethodInfo()
154 ProfileCompilationInfo::InlineCacheMap* ic_map = CreateInlineCacheMap(); in GetOfflineProfileMethodInfo()
[all …]
Dboot_image_profile.cc29 using Hotness = ProfileCompilationInfo::MethodHotness;
33 const std::vector<std::unique_ptr<const ProfileCompilationInfo>>& profiles, in GenerateBootImageProfile()
36 ProfileCompilationInfo* out_profile) { in GenerateBootImageProfile()
37 for (const std::unique_ptr<const ProfileCompilationInfo>& profile : profiles) { in GenerateBootImageProfile()
55 std::set<std::pair<const ProfileCompilationInfo*, dex::TypeIndex>> inferred_classes; in GenerateBootImageProfile()
60 for (const std::unique_ptr<const ProfileCompilationInfo>& profile : profiles) { in GenerateBootImageProfile()
106 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()
39 ProfileCompilationInfo info; in ProcessProfilesInternal()
58 ProfileCompilationInfo cur_info; in ProcessProfilesInternal()
134 const ProfileCompilationInfo::ProfileLoadFilterFn& filter_fn, in ProcessProfiles()
165 const ProfileCompilationInfo::ProfileLoadFilterFn& filter_fn, in ProcessProfiles()
Dprofman.cc375 const ProfileCompilationInfo::ProfileLoadFilterFn& filter_fn = in ProcessProfiles()
411 profile_filter_keys->emplace(ProfileCompilationInfo::GetProfileDexFileKey( in GetProfileFilterKeyFromApks()
515 std::unique_ptr<const ProfileCompilationInfo> LoadProfile(const std::string& filename, int fd) { in LoadProfile()
528 std::unique_ptr<ProfileCompilationInfo> info(new ProfileCompilationInfo); in LoadProfile()
541 std::unique_ptr<const ProfileCompilationInfo> info(LoadProfile(filename, fd)); in DumpOneProfile()
634 ProfileCompilationInfo profile_info; in GetClassNamesAndMethods()
933 /*out*/ProfileCompilationInfo* profile) { in ProcessLine()
965 flags |= ProfileCompilationInfo::MethodHotness::kFlagHot; in ProcessLine()
968 flags |= ProfileCompilationInfo::MethodHotness::kFlagStartup; in ProcessLine()
971 flags |= ProfileCompilationInfo::MethodHotness::kFlagPostStartup; in ProcessLine()
[all …]
/art/runtime/jit/
Dprofiling_info_test.cc37 using Hotness = ProfileCompilationInfo::MethodHotness;
69 ProfileCompilationInfo* info) { in AddMethod()
80 const ProfileCompilationInfo::OfflineProfileMethodInfo& pmi, in AddMethod()
81 ProfileCompilationInfo* info) { in AddMethod()
89 ProfileCompilationInfo* info) { in AddClass()
104 ProfileCompilationInfo info; in SaveProfilingInfo()
117 ProfileCompilationInfo file_profile; in SaveProfilingInfo()
136 ProfileCompilationInfo info; in SaveProfilingInfoWithFakeInlineCaches()
183 ProfileCompilationInfo::InlineCacheMap* CreateInlineCacheMap() { in CreateInlineCacheMap()
184 used_inline_caches.emplace_back(new ProfileCompilationInfo::InlineCacheMap( in CreateInlineCacheMap()
[all …]
Dprofile_saver.cc50 static_assert(ProfileCompilationInfo::kIndividualInlineCacheSize ==
433 using Hotness = ProfileCompilationInfo::MethodHotness; in FetchAndCacheResolvedClassesAndMethods()
442 new ProfileCompilationInfo(Runtime::Current()->GetArenaPool())); in FetchAndCacheResolvedClassesAndMethods()
444 ProfileCompilationInfo* cached_info = info_it->second; in FetchAndCacheResolvedClassesAndMethods()
547 ProfileCompilationInfo info(Runtime::Current()->GetArenaPool()); in ProcessProfilingInfo()
562 ProfileCompilationInfo::MethodHotness::kFlagPostStartup)) { in ProcessProfilingInfo()
609 ProfileCompilationInfo *cached_info = profile_cache_it->second; in ProcessProfilingInfo()
709 code_paths_keys.insert(ProfileCompilationInfo::GetProfileDexFileKey(location)); in Start()
714 const std::string key = ProfileCompilationInfo::GetProfileDexFileKey(location); in Start()
908 ProfileCompilationInfo info(Runtime::Current()->GetArenaPool()); in HasSeenMethod()
[all …]
Dprofile_saver.h137 SafeMap<std::string, ProfileCompilationInfo*> profile_cache_;
/art/dexlayout/
Ddex_visualize.h31 class ProfileCompilationInfo; variable
39 ProfileCompilationInfo* profile_info);
Ddexlayout.h41 class ProfileCompilationInfo; variable
106 ProfileCompilationInfo* info, in DexLayout()
190 ProfileCompilationInfo* info_;
Ddexlayout_main.cc191 std::unique_ptr<ProfileCompilationInfo> profile_info; in DexlayoutDriver()
203 profile_info.reset(new ProfileCompilationInfo()); in DexlayoutDriver()
Ddexlayout_test.cc346 ProfileCompilationInfo pfi; in CreateProfile()
353 flags |= ProfileCompilationInfo::MethodHotness::kFlagHot; in CreateProfile()
356 flags |= ProfileCompilationInfo::MethodHotness::kFlagStartup; in CreateProfile()
359 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/dex2oat/
Dcommon_compiler_driver_test.h32 class ProfileCompilationInfo; variable
61 virtual ProfileCompilationInfo* GetProfileCompilationInfo();
Ddex2oat_image_test.cc258 ProfileCompilationInfo profile; in TEST_F()
260 uint32_t flags = ProfileCompilationInfo::MethodHotness::kFlagHot | in TEST_F()
261 ProfileCompilationInfo::MethodHotness::kFlagStartup; in TEST_F()
263 static_cast<ProfileCompilationInfo::MethodHotness::Flag>(flags), in TEST_F()
Dcommon_compiler_driver_test.cc137 ProfileCompilationInfo* CommonCompilerDriverTest::GetProfileCompilationInfo() { in GetProfileCompilationInfo()
/art/libprofile/profile/
Dprofile_compilation_info.h72 class ProfileCompilationInfo {
225 friend class ProfileCompilationInfo; variable
243 ProfileCompilationInfo();
244 explicit ProfileCompilationInfo(ArenaPool* arena_pool);
246 ~ProfileCompilationInfo();
346 bool MergeWith(const ProfileCompilationInfo& info, bool merge_classes = true);
397 bool Equals(const ProfileCompilationInfo& other);
423 static bool Equals(const ProfileCompilationInfo::OfflineProfileMethodInfo& pmi1,
424 const ProfileCompilationInfo::OfflineProfileMethodInfo& pmi2);
/art/compiler/driver/
Dcompiler_options.h49 class ProfileCompilationInfo; variable
242 const ProfileCompilationInfo* GetProfileCompilationInfo() const { in GetProfileCompilationInfo()
420 const ProfileCompilationInfo* profile_compilation_info_;
/art/dex2oat/driver/
Dcompiler_driver_test.cc200 ProfileCompilationInfo* GetProfileCompilationInfo() override { in GetProfileCompilationInfo()
204 ProfileCompilationInfo info; in GetProfileCompilationInfo()
206 profile_info_.AddMethodIndex(ProfileCompilationInfo::MethodHotness::kFlagHot, in GetProfileCompilationInfo()
208 profile_info_.AddMethodIndex(ProfileCompilationInfo::MethodHotness::kFlagHot, in GetProfileCompilationInfo()
262 ProfileCompilationInfo profile_info_;
Dcompiler_driver.h75 class ProfileCompilationInfo; variable
/art/dex2oat/linker/
Doat_writer.h48 class ProfileCompilationInfo; variable
125 ProfileCompilationInfo* info,
537 ProfileCompilationInfo* profile_compilation_info_;
Doat_writer_test.cc132 ProfileCompilationInfo* profile_compilation_info) { in WriteElf()
587 std::unique_ptr<ProfileCompilationInfo> in TestDexFileInput()
588 profile_compilation_info(use_profile ? new ProfileCompilationInfo() : nullptr); in TestDexFileInput()
841 std::unique_ptr<ProfileCompilationInfo> profile_compilation_info(new ProfileCompilationInfo()); in TestZipFileInputWithEmptyDex()
/art/compiler/optimizing/
Dinliner.h152 const ProfileCompilationInfo::OfflineProfileMethodInfo& offline_profile,
Dinliner.cc690 const ProfileCompilationInfo* pci = codegen_->GetCompilerOptions().GetProfileCompilationInfo(); in GetInlineCacheAOT()
695 std::unique_ptr<ProfileCompilationInfo::OfflineProfileMethodInfo> offline_profile = in GetInlineCacheAOT()
716 const ProfileCompilationInfo::OfflineProfileMethodInfo& offline_profile, in ExtractClassesFromOfflineProfile()
724 const ProfileCompilationInfo::DexPcData& dex_pc_data = it->second; in ExtractClassesFromOfflineProfile()
760 for (const ProfileCompilationInfo::ClassReference& class_ref : dex_pc_data.classes) { in ExtractClassesFromOfflineProfile()

12