Home | History | Annotate | Download | only in profile

Lines Matching refs:pmi

709                                        const OfflineProfileMethodInfo& pmi,
730 if (pmi.inline_caches == nullptr) {
734 for (const auto& pmi_inline_cache_it : *pmi.inline_caches) {
753 const DexReference& dex_ref = pmi.dex_references[class_ref.dex_profile_index];
767 bool ProfileCompilationInfo::AddMethod(const ProfileMethodInfo& pmi, MethodHotness::Flag flags) {
768 DexFileData* const data = GetOrAddDexFileData(pmi.ref.dex_file);
772 InlineCacheMap* inline_cache = data->FindOrAddMethod(pmi.ref.index);
776 data->SetMethodHotness(pmi.ref.index, flags);
778 for (const ProfileMethodInfo::ProfileInlineCache& cache : pmi.inline_caches) {
1755 std::unique_ptr<OfflineProfileMethodInfo> pmi(new OfflineProfileMethodInfo(inline_caches));
1757 pmi->dex_references.resize(info_.size());
1759 pmi->dex_references[dex_data->profile_index].dex_location = dex_data->profile_key;
1760 pmi->dex_references[dex_data->profile_index].dex_checksum = dex_data->checksum;
1761 pmi->dex_references[dex_data->profile_index].num_method_ids = dex_data->num_method_ids;
1764 return pmi;