Searched refs:pmi (Results 1 – 4 of 4) sorted by relevance
/art/runtime/jit/ |
D | profile_compilation_info_test.cc | 81 const ProfileCompilationInfo::OfflineProfileMethodInfo& pmi, in AddMethod() argument 84 dex_location, checksum, method_index, kMaxMethodIds, pmi, Hotness::kFlagPostStartup); in AddMethod() 169 ProfileMethodInfo pmi(MethodReference(method->GetDexFile(), in SaveProfilingInfoWithFakeInlineCaches() local 172 profile_methods.push_back(pmi); in SaveProfilingInfoWithFakeInlineCaches() 173 profile_methods_map->Put(method, pmi); in SaveProfilingInfoWithFakeInlineCaches() 191 const ProfileMethodInfo& pmi) { in ConvertProfileMethodInfo() argument 195 for (const auto& inline_cache : pmi.inline_caches) { in ConvertProfileMethodInfo() 251 ProfileCompilationInfo::OfflineProfileMethodInfo pmi(ic_map); in GetOfflineProfileMethodInfo() local 253 pmi.dex_references.emplace_back("dex_location1", /* checksum */1, kMaxMethodIds); in GetOfflineProfileMethodInfo() 254 pmi.dex_references.emplace_back("dex_location2", /* checksum */2, kMaxMethodIds); in GetOfflineProfileMethodInfo() [all …]
|
D | profile_compilation_info.cc | 646 const OfflineProfileMethodInfo& pmi, in AddMethod() argument 667 if (pmi.inline_caches == nullptr) { in AddMethod() 671 for (const auto& pmi_inline_cache_it : *pmi.inline_caches) { in AddMethod() 690 const DexReference& dex_ref = pmi.dex_references[class_ref.dex_profile_index]; in AddMethod() 704 bool ProfileCompilationInfo::AddMethod(const ProfileMethodInfo& pmi, MethodHotness::Flag flags) { in AddMethod() argument 705 DexFileData* const data = GetOrAddDexFileData(pmi.ref.dex_file); in AddMethod() 709 InlineCacheMap* inline_cache = data->FindOrAddMethod(pmi.ref.index); in AddMethod() 713 data->SetMethodHotness(pmi.ref.index, flags); in AddMethod() 715 for (const ProfileMethodInfo::ProfileInlineCache& cache : pmi.inline_caches) { in AddMethod() 1600 std::unique_ptr<OfflineProfileMethodInfo> pmi(new OfflineProfileMethodInfo(inline_caches)); in GetMethod() local [all …]
|
D | profile_compilation_info.h | 281 bool AddMethod(const ProfileMethodInfo& pmi, MethodHotness::Flag flags); 569 const OfflineProfileMethodInfo& pmi,
|
/art/profman/ |
D | profile_assistant_test.cc | 85 ProfileCompilationInfo::OfflineProfileMethodInfo pmi = in SetupProfile() local 92 dex_location2, dex_location_checksum2, i, number_of_methods2, pmi, flags)); in SetupProfile() 94 dex_location1, dex_location_checksum1, i, number_of_methods1, pmi, flags)); in SetupProfile() 97 dex_location1, dex_location_checksum1, i, number_of_methods1, pmi, flags)); in SetupProfile() 99 dex_location2, dex_location_checksum2, i, number_of_methods2, pmi, flags)); in SetupProfile() 153 ProfileCompilationInfo::OfflineProfileMethodInfo pmi(ic_map); in GetOfflineProfileMethodInfo() local 154 pmi.dex_references.emplace_back(dex_location1, dex_checksum1, number_of_methods1); in GetOfflineProfileMethodInfo() 155 pmi.dex_references.emplace_back(dex_location2, dex_checksum2, number_of_methods2); in GetOfflineProfileMethodInfo() 184 return pmi; in GetOfflineProfileMethodInfo() 346 std::unique_ptr<ProfileCompilationInfo::OfflineProfileMethodInfo> pmi = in AssertInlineCaches() local [all …]
|