Home
last modified time | relevance | path

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

123

/art/libprofile/profile/
Dprofile_boot_info_test.cc37 ScratchFile profile; in TEST_F() local
42 ASSERT_TRUE(loaded_info.Load(profile.GetFd(), dex_files)); in TEST_F()
47 ScratchFile profile; in TEST_F() local
53 ASSERT_TRUE(saved_info.Save(profile.GetFd())); in TEST_F()
54 ASSERT_TRUE(profile.GetFile()->ResetOffset()); in TEST_F()
57 ASSERT_TRUE(loaded_info.Load(profile.GetFd(), dex_files)); in TEST_F()
66 ScratchFile profile; in TEST_F() local
78 ASSERT_TRUE(saved_info.Save(profile.GetFd())); in TEST_F()
79 ASSERT_TRUE(profile.GetFile()->ResetOffset()); in TEST_F()
82 ASSERT_TRUE(loaded_info.Load(profile.GetFd(), dex_files2)); in TEST_F()
[all …]
Dprofile_compilation_info_test.cc136 ScratchFile profile; in TestProfileLoadFromZip() local
142 ASSERT_TRUE(saved_info.Save(GetFd(profile))); in TestProfileLoadFromZip()
143 ASSERT_EQ(0, profile.GetFile()->Flush()); in TestProfileLoadFromZip()
146 std::vector<uint8_t> data(profile.GetFile()->GetLength()); in TestProfileLoadFromZip()
147 ASSERT_TRUE(profile.GetFile()->PreadFully(data.data(), data.size(), /*offset=*/ 0)); in TestProfileLoadFromZip()
287 ScratchFile profile; in TEST_F() local
295 ASSERT_TRUE(saved_info.Save(GetFd(profile))); in TEST_F()
296 ASSERT_EQ(0, profile.GetFile()->Flush()); in TEST_F()
300 ASSERT_TRUE(loaded_info.Load(GetFd(profile))); in TEST_F()
309 ASSERT_TRUE(profile.GetFile()->ResetOffset()); in TEST_F()
[all …]
/art/libartservice/service/java/com/android/server/art/
DAidlUtils.java182 public static String toString(@NonNull PrimaryRefProfilePath profile) { in toString() argument
184 profile.packageName, profile.profileName); in toString()
188 public static String toString(@NonNull SecondaryRefProfilePath profile) { in toString() argument
189 return String.format("SecondaryRefProfilePath[dexPath = %s]", profile.dexPath); in toString()
193 public static String toString(@NonNull PrebuiltProfilePath profile) { in toString() argument
194 return String.format("PrebuiltProfilePath[dexPath = %s]", profile.dexPath); in toString()
198 public static String toString(@NonNull DexMetadataPath profile) { in toString() argument
199 return String.format("DexMetadataPath[dexPath = %s]", profile.dexPath); in toString()
203 public static String toString(@NonNull WritableProfilePath profile) { in toString() argument
204 switch (profile.getTag()) { in toString()
[all …]
DDexopter.java105 ProfilePath profile = null; in dexopt() local
123 profile = initReferenceProfile(dexInfo); in dexopt()
127 profile = pair.first; in dexopt()
130 ProfilePath mergedProfile = mergeProfiles(dexInfo, profile); in dexopt()
132 if (profile != null && profile.getTag() == ProfilePath.tmpProfilePath) { in dexopt()
133 mInjector.getArtd().deleteProfile(profile); in dexopt()
135 profile = mergedProfile; in dexopt()
140 if (profile == null) { in dexopt()
152 Utils.check(isProfileGuidedCompilerFilter == (profile != null)); in dexopt()
217 ArtdDexoptResult dexoptResult = dexoptFile(target, profile, in dexopt()
[all …]
/art/test/595-profile-saving/
DAndroid.bp3 // Build rules for ART run-test `595-profile-saving`.
16 name: "art-run-test-595-profile-saving",
21 ":art-run-test-595-profile-saving-expected-stdout",
22 ":art-run-test-595-profile-saving-expected-stderr",
28 name: "art-run-test-595-profile-saving-expected-stdout",
29 out: ["art-run-test-595-profile-saving-expected-stdout.txt"],
36 name: "art-run-test-595-profile-saving-expected-stderr",
37 out: ["art-run-test-595-profile-saving-expected-stderr.txt"],
/art/test/2230-profile-save-hotness/
DAndroid.bp3 // Build rules for ART run-test `2230-profile-save-hotness`.
16 name: "art-run-test-2230-profile-save-hotness",
21 ":art-run-test-2230-profile-save-hotness-expected-stdout",
22 ":art-run-test-2230-profile-save-hotness-expected-stderr",
28 name: "art-run-test-2230-profile-save-hotness-expected-stdout",
29 out: ["art-run-test-2230-profile-save-hotness-expected-stdout.txt"],
36 name: "art-run-test-2230-profile-save-hotness-expected-stderr",
37 out: ["art-run-test-2230-profile-save-hotness-expected-stderr.txt"],
Dinfo.txt1 Check that profile recording with AOT hotness.
/art/tools/
Dboot-image-profile-generate.sh73 OUT_BOOT_PROFILE="$OUT_DIR"/boot-image-profile.txt
75 OUT_SYSTEM_SERVER="$OUT_DIR"/art-profile
118 --generate-boot-image-profile \
120 --out-profile-path="$OUT_BOOT_PROFILE" \
133 --generate-boot-image-profile \
135 --out-profile-path="$OUT_SYSTEM_SERVER" \
Dart54 --profile Run with profiling, then run using profile data.
249 --compiler-filter=speed-profile)
252 --compiler-filter=everything-profile)
387 --profile)
647 -Xps-profile-path:$PROFILE_PATH \
665 DEX2OAT_FLAGS+=(--profile-file="$PROFILE_PATH")
/art/test/707-checker-invalid-profile/
DAndroid.bp3 // Build rules for ART run-test `707-checker-invalid-profile`.
16 name: "art-run-test-707-checker-invalid-profile",
21 ":art-run-test-707-checker-invalid-profile-expected-stdout",
22 ":art-run-test-707-checker-invalid-profile-expected-stderr",
31 name: "art-run-test-707-checker-invalid-profile-expected-stdout",
32 out: ["art-run-test-707-checker-invalid-profile-expected-stdout.txt"],
39 name: "art-run-test-707-checker-invalid-profile-expected-stderr",
40 out: ["art-run-test-707-checker-invalid-profile-expected-stderr.txt"],
Dexpected-stdout.txt1 Invalid inline cache in profile file.
/art/test/178-app-image-native-method/
Drun.py23 profile=True,
30 args, profile=True, Xcompiler_option=["--compiler-filter=verify"])
/art/artd/binder/com/android/server/art/
DIArtd.aidl45 boolean isProfileUsable(in com.android.server.art.ProfilePath profile, in isProfileUsable() argument
63 void commitTmpProfile(in com.android.server.art.ProfilePath.TmpProfilePath profile); in commitTmpProfile() argument
72 void deleteProfile(in com.android.server.art.ProfilePath profile); in deleteProfile() argument
82 in com.android.server.art.ProfilePath profile); in getProfileVisibility() argument
147 in @nullable com.android.server.art.ProfilePath profile, in dexopt() argument
/art/runtime/jit/
Dprofiling_info_test.cc173 ScratchFile profile; in TEST_F() local
186 profile.GetFilename(), in TEST_F()
192 ASSERT_TRUE(info1.Load(profile.GetFilename(), /*clear_if_invalid=*/false)); in TEST_F()
206 profile.GetFilename(), in TEST_F()
212 ASSERT_TRUE(info2.Load(profile.GetFilename(), /*clear_if_invalid=*/false)); in TEST_F()
230 ScratchFile profile; in TEST_F() local
245 profile.GetFilename(), in TEST_F()
252 ASSERT_TRUE(info.Load(profile.GetFilename(), /*clear_if_invalid=*/false)); in TEST_F()
/art/libartservice/service/
DREADME.md58 Note: It doesn't dexopt secondary dex files or use the "speed-profile" filter
72 the system UI, and uses the "speed-profile" compiler filter for the launcher.
77 Note: ART Service cannot use the "speed-profile" compiler filter for the system
79 therefore it's never JITed and as a result there is no profile collected on the
85 If the app is installed along with a DM file that contains a profile (known as a
86 *cloud profile*), it uses the "speed-profile" compiler filter. Otherwise, it
90 DM file that only contains a VDEX file (but not a profile), no dexopt will be
101 "speed-profile" compiler filter.
/art/test/176-app-image-string/
Drun.py19 ctx.default_run(args, profile=True)
/art/test/818-clinit-nterp/
Drun.py19 ctx.default_run(args, profile=True)
/art/test/648-inline-caches-unresolved/
Drun.py19 ctx.default_run(args, profile=True)
/art/test/596-app-images/
Drun.py20 ctx.default_run(args, profile=True)
/art/test/2238-checker-polymorphic-recursive-inlining/
Drun.py21 args, profile=True, Xcompiler_option=["--compiler-filter=speed-profile"])
/art/test/661-oat-writer-layout/
Drun.py25 args, profile=True, Xcompiler_option=["--compiler-filter=speed"])
/art/test/729-checker-polymorphic-intrinsic/
Drun.py20 args, profile=True, Xcompiler_option=["--compiler-filter=speed-profile"])
/art/test/158-app-image-class-table/
Drun.py20 args, profile=True, Xcompiler_option=["--compiler-filter=speed-profile"])
/art/test/660-clinit/
Drun.py21 profile=True,
/art/test/1001-app-image-regions/
Drun.py20 args, profile=True, Xcompiler_option=["--compiler-filter=speed-profile"])

123