/art/runtime/jit/ |
D | profile_compilation_info_test.cc | 283 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 …]
|
D | profile_saver.h | 60 static bool HasSeenMethod(const std::string& profile, bool hot, MethodReference ref);
|
/art/profman/ |
D | boot_image_profile.cc | 36 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()
|
D | profile_assistant_test.cc | 50 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 …]
|
D | profman.cc | 869 /*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/ |
D | run | 17 exec ${RUN} $@ --profile -Xcompiler-option --compiler-filter=speed-profile
|
D | info.txt | 1 Verify the compiler can handle a bogus inline cache in a profile.
|
/art/test/158-app-image-class-table/ |
D | run | 17 exec ${RUN} $@ --profile -Xcompiler-option --compiler-filter=speed-profile
|
/art/test/638-checker-inline-caches/ |
D | run | 17 exec ${RUN} $@ --profile -Xcompiler-option --compiler-filter=speed-profile
|
/art/test/707-checker-invalid-profile/ |
D | run | 17 exec ${RUN} $@ --profile -Xcompiler-option --compiler-filter=speed-profile
|
D | expected.txt | 1 Invalid inline cache in profile file.
|
D | info.txt | 1 Verify the compiler can handle an invalid profile with methods
|
/art/test/159-app-image-fields/ |
D | run | 19 exec ${RUN} $@ --profile -Xcompiler-option --compiler-filter=speed-profile \
|
/art/test/163-app-image-methods/ |
D | run | 19 exec ${RUN} $@ --profile -Xcompiler-option --compiler-filter=speed-profile \
|
/art/test/164-resolution-trampoline-dex-cache/ |
D | run | 21 -Xcompiler-option --compiler-filter=speed-profile --profile \
|
/art/tools/ |
D | generate-boot-image-profile.sh | 62 "$ANDROID_HOST_OUT/bin/profman" --generate-boot-image-profile "--reference-profile-file=$OUT_PROFIL… 65 echo Dumping profile to $OUT_PROFILE.txt
|
D | art | 91 --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/ |
D | Main.java | 68 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/ |
D | run | 17 exec ${RUN} $@ --profile
|
/art/test/661-oat-writer-layout/ |
D | run | 20 "${RUN}" "$@" --profile
|
D | info.txt | 3 Whenever we pass in a profile to dex2oat, we expect that it sorts the methods by the
|
/art/test/648-inline-caches-unresolved/ |
D | run | 17 exec ${RUN} $@ --secondary --profile
|
/art/test/595-profile-saving/ |
D | info.txt | 1 Check that profile recording works even when JIT compilation is not enabled.
|
D | run | 29 --runtime-option -Xps-profile-boot-class-path \
|
/art/dex2oat/ |
D | dex2oat_image_test.cc | 325 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()
|