Home
last modified time | relevance | path

Searched refs:profile_file (Results 1 – 17 of 17) sorted by relevance

/art/dexlayout/
Ddexlayout_test.cc392 std::string profile_file = tmp_dir + "primary.prof"; in DexFileLayoutExec() local
393 CreateProfile(dex_file, profile_file); in DexFileLayoutExec()
398 { "-v", "-w", tmp_dir, "-o", tmp_name, "-p", profile_file, dex_file }; in DexFileLayoutExec()
404 if (!UnlinkFile(dex_file) || !UnlinkFile(profile_file) || !UnlinkFile(output_dex)) { in DexFileLayoutExec()
434 std::string profile_file = tmp_dir + "primary.prof"; in DexFileLayoutFixedPointExec() local
435 CreateProfile(dex_file, profile_file); in DexFileLayoutFixedPointExec()
441 { "-v", "-w", tmp_dir, "-o", tmp_name, "-p", profile_file, dex_file }; in DexFileLayoutFixedPointExec()
448 CreateProfile(output_dex, profile_file); in DexFileLayoutFixedPointExec()
452 { "-i", "-v", "-w", tmp_dir, "-o", tmp_name, "-p", profile_file, output_dex }; in DexFileLayoutFixedPointExec()
464 std::vector<std::string> test_files = { dex_file, profile_file, output_dex, second_output_dex }; in DexFileLayoutFixedPointExec()
[all …]
/art/tools/
Dcompile-jar.py162 if args.profile_file is None and len(args.profile_line) == 0:
164 if args.profile_file:
165 with open(args.profile_file, "rb") as prof:
169 return ['--profile-file={}'.format(args.profile_file)]
184 if args.profile_file:
185 profman_args.append("--create-profile-from={}".format(args.profile_file))
/art/runtime/
Ddexopt_test.cc114 ScratchFile profile_file; in GenerateOatForTest() local
130 ASSERT_TRUE(info.Save(profile_file.GetFd())); in GenerateOatForTest()
131 ASSERT_EQ(0, profile_file.GetFile()->Flush()); in GenerateOatForTest()
134 args.push_back("--profile-file=" + profile_file.GetFilename()); in GenerateOatForTest()
/art/dex2oat/
Ddex2oat_image_test.cc201 ScratchFile profile_file; in TEST_F() local
203 profile_file.GetFile(), in TEST_F()
208 {"--profile-file=" + profile_file.GetFilename(), in TEST_F()
210 profile_file.Close(); in TEST_F()
221 ScratchFile profile_file; in TEST_F() local
223 profile_file.GetFile(), in TEST_F()
228 {"--profile-file=" + profile_file.GetFilename(), in TEST_F()
230 profile_file.Close(); in TEST_F()
DAndroid.bp237 profile_file: "art/dex2oat_arm_arm64.profdata",
242 profile_file: "art/dex2oat_arm_arm64.profdata",
247 profile_file: "art/dex2oat_x86_x86_64.profdata",
252 profile_file: "art/dex2oat_x86_x86_64.profdata",
Ddex2oat_test.cc1148 ScratchFile profile_file; in TEST_F() local
1198 ASSERT_TRUE(info.Save(profile_file.GetFd())); in TEST_F()
1209 {"--profile-file=" + profile_file.GetFilename()}); in TEST_F()
1942 ScratchFile profile_file; in TEST_F() local
1988 "--profile-file=" + profile_file.GetFilename()}, in TEST_F()
2042 ScratchFile profile_file; in TEST_F() local
2098 ASSERT_TRUE(info.Save(profile_file.GetFd())); in TEST_F()
2108 "--profile-file=" + profile_file.GetFilename()}, in TEST_F()
Ddex2oat.cc2375 std::unique_ptr<File> profile_file; in LoadProfile() local
2377 profile_file.reset(new File(DupCloexec(profile_file_fd_), in LoadProfile()
2382 profile_file.reset(OS::OpenFileForReading(profile_file_.c_str())); in LoadProfile()
2385 if (profile_file.get() == nullptr) { in LoadProfile()
2390 if (!profile_compilation_info_->Load(profile_file->Fd())) { in LoadProfile()
/art/runtime/gc/space/
Dimage_space_test.cc81 ScratchFile profile_file; in TEST_F() local
82 GenerateBootProfile(dex_files, profile_file.GetFile()); in TEST_F()
84 "--profile-file=" + profile_file.GetFilename(), in TEST_F()
108 ScratchFile profile_file; in TEST_F() local
109 GenerateProfile(dex_files, profile_file.GetFile()); in TEST_F()
115 "--profile-file=" + profile_file.GetFilename(), in TEST_F()
Dimage_space.h301 const char* profile_file,
Dimage_space.cc80 const char* profile_file, in ImageSpace() argument
93 profile_file_(profile_file) { in ImageSpace()
621 const char* profile_file, in Init() argument
734 profile_file, in Init()
1395 std::string profile_file; member
1888 std::unique_ptr<File> profile_file(OS::OpenFileForReading(profile_filename.c_str())); in CompileExtension() local
1889 if (profile_file == nullptr) { in CompileExtension()
1904 if (!info.Load(profile_file->Fd(), /*merge_classes=*/ true, collect_fn)) { in CompileExtension()
2021 chunk.profile_file = profile_filename; in CompileExtension()
2759 const std::string& profile_file, in Load() argument
[all …]
/art/profman/
Dprofile_assistant_test.cc271 ScratchFile profile_file; in CreateAndDump() local
273 profile_file.GetFilename(), in CreateAndDump()
275 EXPECT_TRUE(DumpClassesAndMethods(profile_file.GetFilename(), output_file_contents, target)); in CreateAndDump()
852 ScratchFile profile_file; in TEST_F() local
854 profile_file.GetFilename(), in TEST_F()
857 ASSERT_TRUE(info.Load(GetFd(profile_file))); in TEST_F()
1158 ScratchFile profile_file; in TEST_F() local
1160 profile_file.GetFilename(), in TEST_F()
1166 profile_file.GetFilename(), &text_two, GetTestDexFileName("ProfileTestMultiDex"))); in TEST_F()
1180 profile_file.GetFilename(), in TEST_F()
[all …]
Dboot_image_profile.cc212 for (const std::string& profile_file : profile_files) { in GenerateBootImageProfile() local
214 if (!profile.Load(profile_file, /*clear_if_invalid=*/ false)) { in GenerateBootImageProfile()
215 LOG(ERROR) << "Profile is not a valid: " << profile_file; in GenerateBootImageProfile()
Dprofman.cc748 for (const std::string& profile_file : profile_files_) { in DumpProfileInfo() local
749 int ret = DumpOneProfile(kOrdinaryProfile, profile_file, File::kInvalidFd, &dex_files, &dump); in DumpProfileInfo()
920 bool GetClassNamesAndMethods(const std::string& profile_file, in GetClassNamesAndMethods() argument
928 int fd = open(profile_file.c_str(), flags); in GetClassNamesAndMethods()
930 PLOG(ERROR) << "Cannot open " << profile_file; in GetClassNamesAndMethods()
962 for (const std::string& profile_file : profile_files_) { in DumpClassesAndMethods() local
963 if (!GetClassNamesAndMethods(profile_file, &dex_files, &class_names)) { in DumpClassesAndMethods()
/art/runtime/jit/
Djit.cc941 const std::string& profile_file = space->GetProfileFile(); in Run() local
942 if (profile_file.empty()) { in Run()
945 LOG(INFO) << "JIT Zygote looking at profile " << profile_file; in Run()
953 std::string boot_profile = GetBootProfileFile(profile_file); in Run()
960 self, boot_class_path, profile_file, null_handle, /* add_to_queue= */ true); in Run()
1357 const std::string& profile_file, in CompileMethodsFromBootProfile() argument
1360 unix_file::FdFile profile(profile_file.c_str(), O_RDONLY, true); in CompileMethodsFromBootProfile()
1363 PLOG(WARNING) << "No boot profile: " << profile_file; in CompileMethodsFromBootProfile()
1369 LOG(ERROR) << "Could not load profile file: " << profile_file; in CompileMethodsFromBootProfile()
1399 const std::string& profile_file, in CompileMethodsFromProfile() argument
[all …]
/art/build/
DAndroid.bp285 profile_file: "art/art_arm_arm64.profdata",
290 profile_file: "art/art_arm_arm64.profdata",
295 profile_file: "art/art_x86_x86_64.profdata",
300 profile_file: "art/art_x86_x86_64.profdata",
/art/libprofile/profile/
Dprofile_compilation_info.cc735 ScopedFlock profile_file = in MergeWith() local
738 if (profile_file.get() == nullptr) { in MergeWith()
743 int fd = profile_file->Fd(); in MergeWith()
770 ScopedFlock profile_file = in Load() local
773 if (profile_file.get() == nullptr) { in Load()
778 int fd = profile_file->Fd(); in Load()
791 if (profile_file->ClearContent()) { in Load()
814 ScopedFlock profile_file = in Save() local
816 if (profile_file.get() == nullptr) { in Save()
821 int fd = profile_file->Fd(); in Save()
[all …]
/art/odrefresh/
Dodrefresh.cc695 const std::string& profile_file) { in AddDex2OatProfileAndCompilerFilter() argument
696 if (OS::FileExists(profile_file.c_str(), /*check_file_type=*/true)) { in AddDex2OatProfileAndCompilerFilter()
697 args->emplace_back(Concatenate({"--profile-file=", profile_file})); in AddDex2OatProfileAndCompilerFilter()
755 const std::string profile_file = Concatenate({root, "/framework/", basename, ".prof"}); in VerifySystemServerArtifactsAreUpToDate() local
756 if (OS::FileExists(profile_file.c_str())) { in VerifySystemServerArtifactsAreUpToDate()