Home
last modified time | relevance | path

Searched refs:profile_info (Results 1 – 6 of 6) sorted by relevance

/art/dexlayout/
Ddexlayout_main.cc191 std::unique_ptr<ProfileCompilationInfo> profile_info; in DexlayoutDriver() local
203 profile_info.reset(new ProfileCompilationInfo()); in DexlayoutDriver()
204 if (!profile_info->Load(profile_fd)) { in DexlayoutDriver()
212 DexLayout dex_layout(options, profile_info.get(), out_file, /*header=*/ nullptr); in DexlayoutDriver()
Ddex_visualize.cc176 ProfileCompilationInfo* profile_info) { in DumpMethodItem() argument
177 if (profile_info != nullptr) { in DumpMethodItem()
179 if (!profile_info->GetMethodHotness(MethodReference(dex_file, method_idx)).IsHot()) { in DumpMethodItem()
248 ProfileCompilationInfo* profile_info) { in VisualizeDexLayout() argument
259 if (profile_info != nullptr && !profile_info->ContainsClass(*dex_file, type_idx)) { in VisualizeDexLayout()
292 dumper->DumpMethodItem(&method_item, dex_file, class_index, profile_info); in VisualizeDexLayout()
297 dumper->DumpMethodItem(&method_item, dex_file, class_index, profile_info); in VisualizeDexLayout()
Ddex_visualize.h39 ProfileCompilationInfo* profile_info);
/art/runtime/jit/
Dprofile_saver.cc360 void UpdateProfile(const std::set<std::string>& locations, ProfileCompilationInfo* profile_info);
626 ProfileCompilationInfo* profile_info) { in UpdateProfile() argument
668 profile_info->FindOrAddDexFile(*dex_file, annotation_); in UpdateProfile()
681 profile_info->FindOrCreateTypeIndex(*dex_file, array_class_descriptor.c_str()); in UpdateProfile()
683 profile_info->AddClass(profile_index, type_index); in UpdateProfile()
688 profile_info->AddClass(profile_index, class_record.type_index); in UpdateProfile()
701 profile_info->AddMethod(profile_index, method.GetDexMethodIndex(), flags); in UpdateProfile()
714 profile_info->AddMethod(profile_index, method->GetDexMethodIndex(), flags); in UpdateProfile()
726 profile_info->FindOrAddDexFile(*dex_file, annotation_); in UpdateProfile()
735 profile_info->FindOrCreateTypeIndex(*dex_file, array_class_descriptor.c_str()); in UpdateProfile()
[all …]
Djit.cc1366 ProfileBootInfo profile_info; in CompileMethodsFromBootProfile() local
1367 if (!profile_info.Load(profile.Fd(), dex_files)) { in CompileMethodsFromBootProfile()
1376 for (const DexFile* dex_file : profile_info.GetDexFiles()) { in CompileMethodsFromBootProfile()
1381 for (const std::pair<uint32_t, uint32_t>& pair : profile_info.GetMethods()) { in CompileMethodsFromBootProfile()
1416 ProfileCompilationInfo profile_info; in CompileMethodsFromProfile() local
1417 if (!profile_info.Load(profile.Fd())) { in CompileMethodsFromProfile()
1434 if (!profile_info.GetClassesAndMethods(*dex_file, in CompileMethodsFromProfile()
/art/profman/
Dprofman.cc794 std::string GetInlineCacheLine(const ProfileCompilationInfo& profile_info, in GetInlineCacheLine() argument
799 profile_info.GetMethodHotness(MethodReference(dex_file, dex_method_idx)); in GetInlineCacheLine()
854 dump_ic << profile_info.GetTypeDescriptor(dex_file, type_index); in GetInlineCacheLine()
861 bool GetClassNamesAndMethods(const ProfileCompilationInfo& profile_info, in GetClassNamesAndMethods() argument
870 if (profile_info.GetClassesAndMethods(*dex_file.get(), in GetClassNamesAndMethods()
876 out_lines->insert(profile_info.GetTypeDescriptor(dex_file.get(), type_index)); in GetClassNamesAndMethods()
897 GetInlineCacheLine(profile_info, id, dex_file.get(), dex_method_idx); in GetClassNamesAndMethods()
911 ProfileCompilationInfo profile_info(for_boot_image); in GetClassNamesAndMethods() local
912 if (profile_info.Load(fd)) { in GetClassNamesAndMethods()
913 return GetClassNamesAndMethods(profile_info, dex_files, out_lines); in GetClassNamesAndMethods()