Home
last modified time | relevance | path

Searched refs:ProfileMethodInfo (Results 1 – 13 of 13) sorted by relevance

/art/runtime/jit/
Dprofiling_info_test.cc73 std::vector<ProfileMethodInfo> profile_methods; in SaveProfilingInfo()
103 /*out*/ SafeMap<ArtMethod*, ProfileMethodInfo>* profile_methods_map) { in SaveProfilingInfoWithFakeInlineCaches()
105 std::vector<ProfileMethodInfo> profile_methods; in SaveProfilingInfoWithFakeInlineCaches()
108 std::vector<ProfileMethodInfo::ProfileInlineCache> caches; in SaveProfilingInfoWithFakeInlineCaches()
136 ProfileMethodInfo pmi(MethodReference(method->GetDexFile(), in SaveProfilingInfoWithFakeInlineCaches()
158 const ProfileMethodInfo& pmi) { in ConvertProfileMethodInfo()
271 SafeMap<ArtMethod*, ProfileMethodInfo> profile_methods_map; in TEST_F()
289 const ProfileMethodInfo& pmi = profile_methods_map.find(m)->second; in TEST_F()
Djit_code_cache.h46 struct ProfileMethodInfo;
329 std::vector<ProfileMethodInfo>& methods)
Dprofile_saver.cc549 std::vector<ProfileMethodInfo> profile_methods; in ProcessProfilingInfo()
Djit_code_cache.cc1508 std::vector<ProfileMethodInfo>& methods) { in GetProfiledMethods()
1522 std::vector<ProfileMethodInfo::ProfileInlineCache> inline_caches; in GetProfiledMethods()
/art/libprofile/profile/
Dprofile_compilation_info.h43 struct ProfileMethodInfo { struct
55 explicit ProfileMethodInfo(MethodReference reference) : ref(reference) {} in ProfileMethodInfo() argument
57 ProfileMethodInfo(MethodReference reference, const std::vector<ProfileInlineCache>& caches) in ProfileMethodInfo() function
292 bool operator==(const std::vector<ProfileMethodInfo::ProfileInlineCache>& other) const;
337 bool AddMethods(const std::vector<ProfileMethodInfo>& methods,
362 bool AddMethod(const ProfileMethodInfo& pmi,
Dprofile_compilation_info_test.cc35 using ProfileInlineCache = ProfileMethodInfo::ProfileInlineCache;
77 return info->AddMethod(ProfileMethodInfo(MethodReference(dex, method_idx)), in AddMethod()
88 ProfileMethodInfo(MethodReference(dex, method_idx), inline_caches), in AddMethod()
1385 ASSERT_TRUE(info.AddMethod(ProfileMethodInfo(hot), Hotness::kFlagHot)); in TEST_F()
1387 ProfileMethodInfo(hot_startup), in TEST_F()
1389 ASSERT_TRUE(info.AddMethod(ProfileMethodInfo(startup), Hotness::kFlagStartup)); in TEST_F()
1411 ProfileMethodInfo::ProfileInlineCache ic(/*dex_pc*/ 0, /*missing_types*/true, types); in TEST_F()
1412 std::vector<ProfileMethodInfo::ProfileInlineCache> inline_caches = {ic}; in TEST_F()
1413 info.AddMethod(ProfileMethodInfo(hot, inline_caches), Hotness::kFlagHot); in TEST_F()
1414 info.AddMethod(ProfileMethodInfo(startup, inline_caches), Hotness::kFlagStartup); in TEST_F()
[all …]
Dprofile_compilation_info.cc208 bool ProfileCompilationInfo::AddMethods(const std::vector<ProfileMethodInfo>& methods, in AddMethods()
211 for (const ProfileMethodInfo& method : methods) { in AddMethods()
714 bool ProfileCompilationInfo::AddMethod(const ProfileMethodInfo& pmi, in AddMethod()
737 for (const ProfileMethodInfo::ProfileInlineCache& cache : pmi.inline_caches) { in AddMethod()
1939 const std::vector<ProfileMethodInfo::ProfileInlineCache>& runtime_caches) const { in operator ==()
1949 const ProfileMethodInfo::ProfileInlineCache* runtime_cache = nullptr; in operator ==()
1950 for (const ProfileMethodInfo::ProfileInlineCache& pic : runtime_caches) { in operator ==()
/art/dex2oat/driver/
Dcompiler_driver_test.cc206 profile_info_.AddMethod(ProfileMethodInfo(MethodReference(dex_file.get(), 1)), in GetProfileCompilationInfo()
208 profile_info_.AddMethod(ProfileMethodInfo(MethodReference(dex_file.get(), 2)), in GetProfileCompilationInfo()
/art/profman/
Dprofman.cc1113 std::vector<ProfileMethodInfo> methods; in ProcessLine()
1121 methods.push_back(ProfileMethodInfo(method.GetReference())); in ProcessLine()
1162 std::vector<ProfileMethodInfo::ProfileInlineCache> inline_caches; in ProcessLine()
1181 profile->AddMethod(ProfileMethodInfo(ref, inline_caches), in ProcessLine()
1186 if (!profile->AddMethod(ProfileMethodInfo(ref), in ProcessLine()
Dprofile_assistant_test.cc39 using ProfileInlineCache = ProfileMethodInfo::ProfileInlineCache;
64 ProfileMethodInfo(MethodReference(dex, method_idx), inline_caches), flags); in AddMethod()
73 return info->AddMethod(ProfileMethodInfo(MethodReference(dex, method_idx)), in AddMethod()
/art/test/common/
Druntime_state.cc376 std::vector<ProfileMethodInfo> unused_vector; in Java_Main_fetchProfiles()
/art/dexlayout/
Ddexlayout_test.cc356 pfi.AddMethod(ProfileMethodInfo(MethodReference(dex_file.get(), /*index=*/ i)), in CreateProfile()
/art/runtime/
Dcommon_runtime_test.cc613 ProfileMethodInfo(ref), in GenerateProfile()