/art/dexlayout/ |
D | dexlayout_test.cc | 400 std::string profile_file = tmp_dir + "primary.prof"; in DexFileLayoutExec() local 401 CreateProfile(dex_file, profile_file, dex_file); in DexFileLayoutExec() 406 { "-v", "-w", tmp_dir, "-o", tmp_name, "-p", profile_file, dex_file }; in DexFileLayoutExec() 412 if (!UnlinkFile(dex_file) || !UnlinkFile(profile_file) || !UnlinkFile(output_dex)) { in DexFileLayoutExec() 442 std::string profile_file = tmp_dir + "primary.prof"; in DexFileLayoutFixedPointExec() local 443 CreateProfile(dex_file, profile_file, dex_file); in DexFileLayoutFixedPointExec() 449 { "-i", "-v", "-w", tmp_dir, "-o", tmp_name, "-p", profile_file, dex_file }; in DexFileLayoutFixedPointExec() 456 CreateProfile(dex_file, profile_file, output_dex); in DexFileLayoutFixedPointExec() 461 { "-i", "-v", "-w", tmp_dir, "-o", tmp_name, "-p", profile_file, output_dex }; in DexFileLayoutFixedPointExec() 473 std::vector<std::string> test_files = { dex_file, profile_file, output_dex, second_output_dex }; in DexFileLayoutFixedPointExec() [all …]
|
/art/dex2oat/ |
D | Android.bp | 206 profile_file: "art/dex2oat_arm_arm64.profdata", 211 profile_file: "art/dex2oat_arm_arm64.profdata", 216 profile_file: "art/dex2oat_x86_x86_64.profdata", 221 profile_file: "art/dex2oat_x86_x86_64.profdata", 226 profile_file: "art/dex2oat_mips_mips64.profdata", 231 profile_file: "art/dex2oat_mips_mips64.profdata",
|
D | dex2oat_image_test.cc | 268 ScratchFile profile_file; in TEST_F() local 269 profile.Save(profile_file.GetFile()->Fd()); in TEST_F() 270 EXPECT_EQ(profile_file.GetFile()->Flush(), 0); in TEST_F() 272 {"--profile-file=" + profile_file.GetFilename(), in TEST_F() 274 profile_file.Close(); in TEST_F()
|
D | dex2oat_test.cc | 1335 ScratchFile profile_file; in TEST_F() local 1385 ASSERT_TRUE(info.Save(profile_file.GetFd())); in TEST_F() 1396 {"--profile-file=" + profile_file.GetFilename()}); in TEST_F() 2170 ScratchFile profile_file; in TEST_F() local 2226 ASSERT_TRUE(info.Save(profile_file.GetFd())); in TEST_F() 2236 "--profile-file=" + profile_file.GetFilename()}, in TEST_F()
|
D | dex2oat.cc | 2280 ScopedFlock profile_file; in LoadProfile() local 2283 profile_file = LockedFile::DupOf(profile_file_fd_, "profile", in LoadProfile() 2286 profile_file = LockedFile::Open(profile_file_.c_str(), O_RDONLY, true, &error); in LoadProfile() 2290 if (profile_file.get() == nullptr) { in LoadProfile() 2295 if (!profile_compilation_info_->Load(profile_file->Fd())) { in LoadProfile()
|
/art/profman/ |
D | profile_assistant_test.cc | 304 ScratchFile profile_file; in CreateAndDump() local 306 profile_file.GetFilename(), in CreateAndDump() 308 profile_file.GetFile()->ResetOffset(); in CreateAndDump() 309 EXPECT_TRUE(DumpClassesAndMethods(profile_file.GetFilename(), output_file_contents)); in CreateAndDump() 714 ScratchFile profile_file; in TEST_F() local 716 profile_file.GetFilename(), in TEST_F() 719 profile_file.GetFile()->ResetOffset(); in TEST_F() 720 ASSERT_TRUE(info.Load(GetFd(profile_file))); in TEST_F() 900 ScratchFile profile_file; in TEST_F() local 902 profile_file.GetFilename(), in TEST_F() [all …]
|
D | profman.cc | 589 for (const std::string& profile_file : profile_files_) { in DumpProfileInfo() local 590 int ret = DumpOneProfile(kOrdinaryProfile, profile_file, kInvalidFd, &dex_files, &dump); in DumpProfileInfo() 683 bool GetClassNamesAndMethods(const std::string& profile_file, in GetClassNamesAndMethods() argument 691 int fd = open(profile_file.c_str(), flags); in GetClassNamesAndMethods() 693 PLOG(ERROR) << "Cannot open " << profile_file; in GetClassNamesAndMethods() 725 for (const std::string& profile_file : profile_files_) { in DumpClassesAndMethods() local 726 if (!GetClassNamesAndMethods(profile_file, &dex_files, &class_names)) { in DumpClassesAndMethods() 1169 for (const std::string& profile_file : profile_files_) { in CreateBootProfile() local 1170 … std::unique_ptr<const ProfileCompilationInfo> profile(LoadProfile(profile_file, kInvalidFd)); in CreateBootProfile()
|
/art/runtime/ |
D | dexopt_test.cc | 91 ScratchFile profile_file; in GenerateOatForTest() local 93 args.push_back("--profile-file=" + profile_file.GetFilename()); in GenerateOatForTest()
|
/art/runtime/jit/ |
D | jit.cc | 624 std::string profile_file; in Run() local 627 profile_file = option.substr(strlen("--profile-file=")); in Run() 638 self, boot_class_path, profile_file, null_handle, /* add_to_queue= */ true); in Run() 729 const std::string& profile_file, in CompileMethodsFromProfile() argument 733 if (profile_file.empty()) { in CompileMethodsFromProfile() 740 profile_file.c_str(), O_RDONLY, /* block= */ false, &error_msg); in CompileMethodsFromProfile()
|
/art/libprofile/profile/ |
D | profile_compilation_info.cc | 215 ScopedFlock profile_file = in MergeWith() local 218 if (profile_file.get() == nullptr) { in MergeWith() 223 int fd = profile_file->Fd(); in MergeWith() 250 ScopedFlock profile_file = in Load() local 253 if (profile_file.get() == nullptr) { in Load() 258 int fd = profile_file->Fd(); in Load() 269 if (profile_file->ClearContent()) { in Load() 292 ScopedFlock profile_file = in Save() local 294 if (profile_file.get() == nullptr) { in Save() 299 int fd = profile_file->Fd(); in Save() [all …]
|
/art/runtime/native/ |
D | dalvik_system_VMRuntime.cc | 640 jstring profile_file, in VMRuntime_registerAppInfo() argument 651 const char* raw_profile_file = env->GetStringUTFChars(profile_file, nullptr); in VMRuntime_registerAppInfo() 653 env->ReleaseStringUTFChars(profile_file, raw_profile_file); in VMRuntime_registerAppInfo()
|