Home
last modified time | relevance | path

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

/art/runtime/jit/
Dprofiling_info_test.cc74 std::vector<ProfileMethodInfo> profile_methods; in SaveProfilingInfo()
104 /*out*/ SafeMap<ArtMethod*, ProfileMethodInfo>* profile_methods_map) { in SaveProfilingInfoWithFakeInlineCaches()
106 std::vector<ProfileMethodInfo> profile_methods; in SaveProfilingInfoWithFakeInlineCaches()
109 std::vector<ProfileMethodInfo::ProfileInlineCache> caches; in SaveProfilingInfoWithFakeInlineCaches()
137 ProfileMethodInfo pmi(MethodReference(method->GetDexFile(), in SaveProfilingInfoWithFakeInlineCaches()
242 SafeMap<ArtMethod*, ProfileMethodInfo> profile_methods_map; in TEST_F()
260 const ProfileMethodInfo& pmi = profile_methods_map.find(m)->second; in TEST_F()
Djit_code_cache.h48 struct ProfileMethodInfo;
329 std::vector<ProfileMethodInfo>& methods)
Djit_code_cache.cc1487 std::vector<ProfileMethodInfo>& methods) { in GetProfiledMethods()
1502 std::vector<ProfileMethodInfo::ProfileInlineCache> inline_caches; in GetProfiledMethods()
Dprofile_saver.cc863 std::vector<ProfileMethodInfo> profile_methods; in ProcessProfilingInfo()
/art/libprofile/profile/
Dprofile_test_helper.h33 using ProfileInlineCache = ProfileMethodInfo::ProfileInlineCache;
52 ProfileMethodInfo(MethodReference(dex, method_idx)), flags, annotation);
72 ProfileMethodInfo(MethodReference(dex, method_idx), inline_caches), flags, annotation);
91 static bool EqualInlineCaches(const std::vector<ProfileMethodInfo::ProfileInlineCache>& expected, in EqualInlineCaches()
Dprofile_compilation_info.h47 struct ProfileMethodInfo { struct
68 explicit ProfileMethodInfo(MethodReference reference) : ref(reference) {} in ProfileMethodInfo() argument
70 ProfileMethodInfo(MethodReference reference, const std::vector<ProfileInlineCache>& caches) in ProfileMethodInfo() function
316 bool AddMethods(const std::vector<ProfileMethodInfo>& methods,
403 bool AddMethod(const ProfileMethodInfo& pmi,
Dprofile_compilation_info_test.cc1407 ASSERT_TRUE(info.AddMethod(ProfileMethodInfo(hot), Hotness::kFlagHot)); in TEST_F()
1409 ProfileMethodInfo(hot_startup), in TEST_F()
1411 ASSERT_TRUE(info.AddMethod(ProfileMethodInfo(startup), Hotness::kFlagStartup)); in TEST_F()
1433 ProfileMethodInfo::ProfileInlineCache ic(/*dex_pc*/ 0, /*missing_types*/true, types); in TEST_F()
1434 std::vector<ProfileMethodInfo::ProfileInlineCache> inline_caches = {ic}; in TEST_F()
1435 info.AddMethod(ProfileMethodInfo(hot, inline_caches), Hotness::kFlagHot); in TEST_F()
1436 info.AddMethod(ProfileMethodInfo(startup, inline_caches), Hotness::kFlagStartup); in TEST_F()
1455 std::vector<ProfileMethodInfo> pmis = {ProfileMethodInfo(hot), ProfileMethodInfo(bad_ref)}; in TEST_F()
1756 ASSERT_TRUE(info.AddMethod(ProfileMethodInfo(ref), Hotness::kFlagHot, psa1)); in TEST_F()
1758 ASSERT_FALSE(info.AddMethod(ProfileMethodInfo(ref_checksum_missmatch), Hotness::kFlagHot, psa1)); in TEST_F()
[all …]
Dprofile_compilation_info.cc661 bool ProfileCompilationInfo::AddMethods(const std::vector<ProfileMethodInfo>& methods, in AddMethods()
664 for (const ProfileMethodInfo& method : methods) { in AddMethods()
1230 bool ProfileCompilationInfo::AddMethod(const ProfileMethodInfo& pmi, in AddMethod()
1249 for (const ProfileMethodInfo::ProfileInlineCache& cache : pmi.inline_caches) { in AddMethod()
/art/dex2oat/driver/
Dcompiler_driver_test.cc204 profile_info_.AddMethod(ProfileMethodInfo(MethodReference(dex_file.get(), 1)), in GetProfileCompilationInfo()
206 profile_info_.AddMethod(ProfileMethodInfo(MethodReference(dex_file.get(), 2)), in GetProfileCompilationInfo()
/art/profman/
Dprofman.cc1446 std::vector<ProfileMethodInfo> methods; in ProcessLine()
1450 methods.push_back(ProfileMethodInfo(method.GetReference())); in ProcessLine()
1489 std::vector<ProfileMethodInfo::ProfileInlineCache> inline_caches; in ProcessLine()
1579 ProfileMethodInfo(resolved_ref, inline_caches), in ProcessLine()
1583 ProfileMethodInfo(ref), in ProcessLine()
1588 ProfileMethodInfo(ref, inline_caches), in ProcessLine()
1594 if (!profile->AddMethod(ProfileMethodInfo(ref), in ProcessLine()
/art/test/common/
Druntime_state.cc379 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.cc585 ProfileMethodInfo(ref), in GenerateProfile()