Home
last modified time | relevance | path

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

/art/runtime/jit/
Dprofiling_info_test.cc136 ProfileMethodInfo pmi(MethodReference(method->GetDexFile(), in SaveProfilingInfoWithFakeInlineCaches() local
139 profile_methods.push_back(pmi); in SaveProfilingInfoWithFakeInlineCaches()
140 profile_methods_map->Put(method, pmi); in SaveProfilingInfoWithFakeInlineCaches()
158 const ProfileMethodInfo& pmi) { in ConvertProfileMethodInfo() argument
162 for (const auto& inline_cache : pmi.inline_caches) { in ConvertProfileMethodInfo()
289 const ProfileMethodInfo& pmi = profile_methods_map.find(m)->second; in TEST_F() local
294 ConvertProfileMethodInfo(pmi); in TEST_F()
/art/profman/
Dprofile_assistant_test.cc338 std::unique_ptr<ProfileCompilationInfo::OfflineProfileMethodInfo> pmi = in AssertInlineCaches() local
341 ASSERT_TRUE(pmi != nullptr); in AssertInlineCaches()
342 ASSERT_EQ(pmi->inline_caches->size(), 1u); in AssertInlineCaches()
343 const ProfileCompilationInfo::DexPcData& dex_pc_data = pmi->inline_caches->begin()->second; in AssertInlineCaches()
352 pmi->dex_references[class_ref.dex_profile_index]; in AssertInlineCaches()
730 std::unique_ptr<ProfileCompilationInfo::OfflineProfileMethodInfo> pmi = in TEST_F() local
732 ASSERT_TRUE(pmi != nullptr) << method.PrettyMethod(); in TEST_F()
1183 std::unique_ptr<ProfileCompilationInfo::OfflineProfileMethodInfo> pmi = in TEST_F() local
1185 ASSERT_TRUE(pmi != nullptr); in TEST_F()
1186 ASSERT_EQ(pmi->inline_caches->size(), 1u); in TEST_F()
[all …]
/art/libprofile/profile/
Dprofile_compilation_info.cc714 bool ProfileCompilationInfo::AddMethod(const ProfileMethodInfo& pmi, in AddMethod() argument
717 DexFileData* const data = GetOrAddDexFileData(pmi.ref.dex_file, annotation); in AddMethod()
721 if (!data->AddMethod(flags, pmi.ref.index)) { in AddMethod()
734 InlineCacheMap* inline_cache = data->FindOrAddHotMethod(pmi.ref.index); in AddMethod()
737 for (const ProfileMethodInfo::ProfileInlineCache& cache : pmi.inline_caches) { in AddMethod()
1614 std::unique_ptr<OfflineProfileMethodInfo> pmi(new OfflineProfileMethodInfo(inline_caches)); in GetHotMethodInfo() local
1616 pmi->dex_references.resize(info_.size()); in GetHotMethodInfo()
1618 pmi->dex_references[dex_data->profile_index].profile_key = dex_data->profile_key; in GetHotMethodInfo()
1619 pmi->dex_references[dex_data->profile_index].dex_checksum = dex_data->checksum; in GetHotMethodInfo()
1620 pmi->dex_references[dex_data->profile_index].num_method_ids = dex_data->num_method_ids; in GetHotMethodInfo()
[all …]
Dprofile_compilation_info.h362 bool AddMethod(const ProfileMethodInfo& pmi,