Home
last modified time | relevance | path

Searched refs:profile (Results 1 – 25 of 29) sorted by relevance

12

/art/runtime/jit/
Dprofile_compilation_info_test.cc283 ScratchFile profile; in TestProfileLoadFromZip() local
289 ASSERT_TRUE(saved_info.Save(GetFd(profile))); in TestProfileLoadFromZip()
290 ASSERT_EQ(0, profile.GetFile()->Flush()); in TestProfileLoadFromZip()
293 ASSERT_TRUE(profile.GetFile()->ResetOffset()); in TestProfileLoadFromZip()
294 std::vector<uint8_t> data(profile.GetFile()->GetLength()); in TestProfileLoadFromZip()
295 ASSERT_TRUE(profile.GetFile()->ReadFully(data.data(), data.size())); in TestProfileLoadFromZip()
339 ScratchFile profile; in TEST_F() local
353 profile.GetFilename(), main_methods, resolved_classes, Hotness::kFlagPostStartup)); in TEST_F()
357 ASSERT_TRUE(info1.Load(GetFd(profile))); in TEST_F()
371 profile.GetFilename(), second_methods, resolved_classes, Hotness::kFlagStartup)); in TEST_F()
[all …]
Dprofile_saver.h60 static bool HasSeenMethod(const std::string& profile, bool hot, MethodReference ref);
/art/profman/
Dboot_image_profile.cc36 for (const std::unique_ptr<const ProfileCompilationInfo>& profile : profiles) { in GenerateBootImageProfile() local
40 out_profile->MergeWith(*profile, /*merge_classes*/ false); in GenerateBootImageProfile()
59 for (const std::unique_ptr<const ProfileCompilationInfo>& profile : profiles) { in GenerateBootImageProfile() local
60 Hotness hotness = profile->GetMethodHotness(ref); in GenerateBootImageProfile()
64 inferred_classes.emplace(profile.get(), ref.GetMethodId().class_idx_); in GenerateBootImageProfile()
112 for (const std::unique_ptr<const ProfileCompilationInfo>& profile : profiles) { in GenerateBootImageProfile() local
113 auto it = inferred_classes.find(std::make_pair(profile.get(), ref.TypeIndex())); in GenerateBootImageProfile()
115 profile->ContainsClass(*ref.dex_file, ref.TypeIndex())) { in GenerateBootImageProfile()
Dprofile_assistant_test.cc50 const ScratchFile& profile, in SetupProfile() argument
64 profile, in SetupProfile()
76 const ScratchFile& profile, in SetupProfile() argument
109 ASSERT_TRUE(info->Save(GetFd(profile))); in SetupProfile()
110 ASSERT_EQ(0, profile.GetFile()->Flush()); in SetupProfile()
111 ASSERT_TRUE(profile.GetFile()->ResetOffset()); in SetupProfile()
120 const ScratchFile& profile, in SetupBasicProfile() argument
136 ASSERT_TRUE(info->Save(GetFd(profile))); in SetupBasicProfile()
137 ASSERT_EQ(0, profile.GetFile()->Flush()); in SetupBasicProfile()
138 ASSERT_TRUE(profile.GetFile()->ResetOffset()); in SetupBasicProfile()
[all …]
Dprofman.cc869 /*out*/ProfileCompilationInfo* profile) { in ProcessLine() argument
945 profile->AddMethods(methods, static_cast<ProfileCompilationInfo::MethodHotness::Flag>(flags)); in ProcessLine()
946 profile->AddClasses(resolved_class_set); in ProcessLine()
997 profile->AddMethod(ProfileMethodInfo(ref, inline_caches), in ProcessLine()
1001 if (!profile->AddMethodIndex( in ProcessLine()
1005 DCHECK(profile->GetMethodHotness(ref).IsInProfile()); in ProcessLine()
1098 std::unique_ptr<const ProfileCompilationInfo> profile(LoadProfile("", profile_file_fd)); in CreateBootProfile() local
1099 if (profile == nullptr) { in CreateBootProfile()
1102 profiles.emplace_back(std::move(profile)); in CreateBootProfile()
1107 … std::unique_ptr<const ProfileCompilationInfo> profile(LoadProfile(profile_file, kInvalidFd)); in CreateBootProfile() local
[all …]
/art/test/643-checker-bogus-ic/
Drun17 exec ${RUN} $@ --profile -Xcompiler-option --compiler-filter=speed-profile
Dinfo.txt1 Verify the compiler can handle a bogus inline cache in a profile.
/art/test/158-app-image-class-table/
Drun17 exec ${RUN} $@ --profile -Xcompiler-option --compiler-filter=speed-profile
/art/test/638-checker-inline-caches/
Drun17 exec ${RUN} $@ --profile -Xcompiler-option --compiler-filter=speed-profile
/art/test/707-checker-invalid-profile/
Drun17 exec ${RUN} $@ --profile -Xcompiler-option --compiler-filter=speed-profile
Dexpected.txt1 Invalid inline cache in profile file.
Dinfo.txt1 Verify the compiler can handle an invalid profile with methods
/art/test/159-app-image-fields/
Drun19 exec ${RUN} $@ --profile -Xcompiler-option --compiler-filter=speed-profile \
/art/test/163-app-image-methods/
Drun19 exec ${RUN} $@ --profile -Xcompiler-option --compiler-filter=speed-profile \
/art/test/164-resolution-trampoline-dex-cache/
Drun21 -Xcompiler-option --compiler-filter=speed-profile --profile \
/art/tools/
Dgenerate-boot-image-profile.sh62 "$ANDROID_HOST_OUT/bin/profman" --generate-boot-image-profile "--reference-profile-file=$OUT_PROFIL…
65 echo Dumping profile to $OUT_PROFILE.txt
Dart91 --profile Run with profiling, then run using profile data.
304 --profile)
365 # Create the profile. The runtime expects profiles to be created before
371 # can capture the profile.
379 -Xps-profile-path:$PROFILE_PATH \
393 # Leave $ANDROID_DATA intact since it contains our profile file.
396 # Append arguments so next invocation of run_art uses the profile.
397 EXTRA_OPTIONS+=(-Xcompiler-option --profile-file="$PROFILE_PATH")
/art/test/595-profile-saving/src/
DMain.java68 public static native boolean presentInProfile(String profile, Method method); in presentInProfile() argument
102 public static void registerAppInfo(String profile, String[] codePaths) in registerAppInfo() argument
104 registerAppInfoMethod.invoke(null, profile, codePaths); in registerAppInfo()
/art/test/660-clinit/
Drun17 exec ${RUN} $@ --profile
/art/test/661-oat-writer-layout/
Drun20 "${RUN}" "$@" --profile
Dinfo.txt3 Whenever we pass in a profile to dex2oat, we expect that it sorts the methods by the
/art/test/648-inline-caches-unresolved/
Drun17 exec ${RUN} $@ --secondary --profile
/art/test/595-profile-saving/
Dinfo.txt1 Check that profile recording works even when JIT compilation is not enabled.
Drun29 --runtime-option -Xps-profile-boot-class-path \
/art/dex2oat/
Ddex2oat_image_test.cc325 ProfileCompilationInfo profile; in TEST_F() local
326 VisitLibcoreDexes([&profile](MethodReference ref) { in TEST_F()
329 EXPECT_TRUE(profile.AddMethodIndex( in TEST_F()
332 }, [&profile](TypeReference ref) { in TEST_F()
333 EXPECT_TRUE(profile.AddClassForDex(ref)); in TEST_F()
336 profile.Save(profile_file.GetFile()->Fd()); in TEST_F()

12