Home
last modified time | relevance | path

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

/art/runtime/jit/
Dprofiling_info_test.cc140 ProfileMethodInfo pmi(MethodReference(method->GetDexFile(), in SaveProfilingInfoWithFakeInlineCaches() local
143 profile_methods.push_back(pmi); in SaveProfilingInfoWithFakeInlineCaches()
144 profile_methods_map->Put(method, pmi); in SaveProfilingInfoWithFakeInlineCaches()
266 const ProfileMethodInfo& pmi = profile_methods_map.find(m)->second; in TEST_F() local
270 pmi.inline_caches, method_ref.dex_file, offline_hotness, info)); in TEST_F()
/art/libprofile/profile/
Dprofile_compilation_info.cc1318 bool ProfileCompilationInfo::AddMethod(const ProfileMethodInfo& pmi, in AddMethod() argument
1322 DexFileData* const data = GetOrAddDexFileData(pmi.ref.dex_file, annotation); in AddMethod()
1326 if (!data->AddMethod(flags, pmi.ref.index)) { in AddMethod()
1335 InlineCacheMap* inline_cache = data->FindOrAddHotMethod(pmi.ref.index); in AddMethod()
1338 const dex::MethodId& mid = pmi.ref.GetMethodId(); in AddMethod()
1339 const DexFile& dex_file = *pmi.ref.dex_file; in AddMethod()
1350 std::optional<uint32_t> offset = dex_file.GetCodeItemOffset(*class_def, pmi.ref.index); in AddMethod()
1358 for (const ProfileMethodInfo::ProfileInlineCache& cache : pmi.inline_caches) { in AddMethod()
1383 dex::TypeIndex type_index = FindOrCreateTypeIndex(*pmi.ref.dex_file, class_ref); in AddMethod()
Dprofile_compilation_info.h405 bool AddMethod(const ProfileMethodInfo& pmi,