Searched refs:pmi (Results 1 – 5 of 5) sorted by relevance
/art/libprofile/profile/ |
D | profile_compilation_info_test.cc | 58 const ProfileCompilationInfo::OfflineProfileMethodInfo& pmi, in AddMethod() argument 61 dex_location, checksum, method_idx, kMaxMethodIds, pmi, Hotness::kFlagPostStartup); in AddMethod() 116 ProfileCompilationInfo::OfflineProfileMethodInfo pmi(ic_map); in GetOfflineProfileMethodInfo() local 118 pmi.dex_references.emplace_back("dex_location1", /* checksum= */1, kMaxMethodIds); in GetOfflineProfileMethodInfo() 119 pmi.dex_references.emplace_back("dex_location2", /* checksum= */2, kMaxMethodIds); in GetOfflineProfileMethodInfo() 120 pmi.dex_references.emplace_back("dex_location3", /* checksum= */3, kMaxMethodIds); in GetOfflineProfileMethodInfo() 122 return pmi; in GetOfflineProfileMethodInfo() 125 void MakeMegamorphic(/*out*/ProfileCompilationInfo::OfflineProfileMethodInfo* pmi) { in MakeMegamorphic() argument 127 const_cast<ProfileCompilationInfo::InlineCacheMap*>(pmi->inline_caches); in MakeMegamorphic() 135 void SetIsMissingTypes(/*out*/ProfileCompilationInfo::OfflineProfileMethodInfo* pmi) { in SetIsMissingTypes() argument [all …]
|
D | profile_compilation_info.cc | 709 const OfflineProfileMethodInfo& pmi, in AddMethod() argument 730 if (pmi.inline_caches == nullptr) { in AddMethod() 734 for (const auto& pmi_inline_cache_it : *pmi.inline_caches) { in AddMethod() 753 const DexReference& dex_ref = pmi.dex_references[class_ref.dex_profile_index]; in AddMethod() 767 bool ProfileCompilationInfo::AddMethod(const ProfileMethodInfo& pmi, MethodHotness::Flag flags) { in AddMethod() argument 768 DexFileData* const data = GetOrAddDexFileData(pmi.ref.dex_file); in AddMethod() 772 InlineCacheMap* inline_cache = data->FindOrAddMethod(pmi.ref.index); in AddMethod() 776 data->SetMethodHotness(pmi.ref.index, flags); in AddMethod() 778 for (const ProfileMethodInfo::ProfileInlineCache& cache : pmi.inline_caches) { in AddMethod() 1755 std::unique_ptr<OfflineProfileMethodInfo> pmi(new OfflineProfileMethodInfo(inline_caches)); in GetMethod() local [all …]
|
D | profile_compilation_info.h | 286 bool AddMethod(const ProfileMethodInfo& pmi, MethodHotness::Flag flags); 618 const OfflineProfileMethodInfo& pmi,
|
/art/runtime/jit/ |
D | profiling_info_test.cc | 80 const ProfileCompilationInfo::OfflineProfileMethodInfo& pmi, in AddMethod() argument 83 dex_location, checksum, method_index, kMaxMethodIds, pmi, Hotness::kFlagPostStartup); in AddMethod() 168 ProfileMethodInfo pmi(MethodReference(method->GetDexFile(), in SaveProfilingInfoWithFakeInlineCaches() local 171 profile_methods.push_back(pmi); in SaveProfilingInfoWithFakeInlineCaches() 172 profile_methods_map->Put(method, pmi); in SaveProfilingInfoWithFakeInlineCaches() 190 const ProfileMethodInfo& pmi) { in ConvertProfileMethodInfo() argument 194 for (const auto& inline_cache : pmi.inline_caches) { in ConvertProfileMethodInfo() 315 const ProfileMethodInfo& pmi = profile_methods_map.find(m)->second; in TEST_F() local 322 ConvertProfileMethodInfo(pmi); in TEST_F()
|
/art/profman/ |
D | profile_assistant_test.cc | 87 ProfileCompilationInfo::OfflineProfileMethodInfo pmi = in SetupProfile() local 94 dex_location2, dex_location_checksum2, i, number_of_methods2, pmi, flags)); in SetupProfile() 96 dex_location1, dex_location_checksum1, i, number_of_methods1, pmi, flags)); in SetupProfile() 99 dex_location1, dex_location_checksum1, i, number_of_methods1, pmi, flags)); in SetupProfile() 101 dex_location2, dex_location_checksum2, i, number_of_methods2, pmi, flags)); in SetupProfile() 155 ProfileCompilationInfo::OfflineProfileMethodInfo pmi(ic_map); in GetOfflineProfileMethodInfo() local 156 pmi.dex_references.emplace_back(dex_location1, dex_checksum1, number_of_methods1); in GetOfflineProfileMethodInfo() 157 pmi.dex_references.emplace_back(dex_location2, dex_checksum2, number_of_methods2); in GetOfflineProfileMethodInfo() 186 return pmi; in GetOfflineProfileMethodInfo() 352 std::unique_ptr<ProfileCompilationInfo::OfflineProfileMethodInfo> pmi = in AssertInlineCaches() local [all …]
|