Home
last modified time | relevance | path

Searched refs:pmi (Results 1 – 5 of 5) sorted by relevance

/art/libprofile/profile/
Dprofile_compilation_info_test.cc58 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 …]
Dprofile_compilation_info.cc709 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 …]
Dprofile_compilation_info.h286 bool AddMethod(const ProfileMethodInfo& pmi, MethodHotness::Flag flags);
618 const OfflineProfileMethodInfo& pmi,
/art/runtime/jit/
Dprofiling_info_test.cc80 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/
Dprofile_assistant_test.cc87 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 …]