/art/dexlayout/ |
D | dexlayout_test.cc | 392 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/dex2oat/ |
D | dex2oat_image_test.cc | 201 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()
|
D | Android.bp | 201 profile_file: "art/dex2oat_arm_arm64.profdata", 206 profile_file: "art/dex2oat_arm_arm64.profdata", 211 profile_file: "art/dex2oat_x86_x86_64.profdata", 216 profile_file: "art/dex2oat_x86_x86_64.profdata",
|
D | dex2oat_test.cc | 1356 ScratchFile profile_file; in TEST_F() local 1406 ASSERT_TRUE(info.Save(profile_file.GetFd())); in TEST_F() 1417 {"--profile-file=" + profile_file.GetFilename()}); in TEST_F() 2207 ScratchFile profile_file; in TEST_F() local 2253 "--profile-file=" + profile_file.GetFilename()}, in TEST_F() 2307 ScratchFile profile_file; in TEST_F() local 2363 ASSERT_TRUE(info.Save(profile_file.GetFd())); in TEST_F() 2373 "--profile-file=" + profile_file.GetFilename()}, in TEST_F()
|
D | dex2oat.cc | 2575 std::unique_ptr<File> profile_file; in LoadProfile() local 2577 profile_file.reset(new File(DupCloexec(profile_file_fd_), in LoadProfile() 2582 profile_file.reset(OS::OpenFileForReading(profile_file_.c_str())); in LoadProfile() 2585 if (profile_file.get() == nullptr) { in LoadProfile() 2590 if (!profile_compilation_info_->Load(profile_file->Fd())) { in LoadProfile()
|
/art/runtime/gc/space/ |
D | image_space_test.cc | 83 ScratchFile profile_file; in TEST_F() local 84 GenerateProfile(dex_files, profile_file.GetFile()); in TEST_F() 86 "--profile-file=" + profile_file.GetFilename(), in TEST_F() 110 ScratchFile profile_file; in TEST_F() local 111 GenerateProfile(dex_files, profile_file.GetFile()); in TEST_F() 117 "--profile-file=" + profile_file.GetFilename(), in TEST_F()
|
D | image_space.h | 303 const char* profile_file,
|
D | image_space.cc | 81 const char* profile_file, in ImageSpace() argument 94 profile_file_(profile_file) { in ImageSpace() 857 const char* profile_file, in Init() argument 970 profile_file, in Init() 1628 std::string profile_file; member 2136 std::unique_ptr<File> profile_file(OS::OpenFileForReading(profile_filename.c_str())); in CompileExtension() local 2137 if (profile_file == nullptr) { in CompileExtension() 2152 if (!info.Load(profile_file->Fd(), /*merge_classes=*/ true, collect_fn)) { in CompileExtension() 2269 chunk.profile_file = profile_filename; in CompileExtension() 3057 const std::string& profile_file, in Load() argument [all …]
|
/art/profman/ |
D | boot_image_profile.cc | 212 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()
|
D | profile_assistant_test.cc | 290 ScratchFile profile_file; in CreateAndDump() local 292 profile_file.GetFilename(), in CreateAndDump() 294 profile_file.GetFile()->ResetOffset(); in CreateAndDump() 295 EXPECT_TRUE(DumpClassesAndMethods(profile_file.GetFilename(), output_file_contents)); in CreateAndDump() 715 ScratchFile profile_file; in TEST_F() local 717 profile_file.GetFilename(), in TEST_F() 720 profile_file.GetFile()->ResetOffset(); in TEST_F() 721 ASSERT_TRUE(info.Load(GetFd(profile_file))); in TEST_F() 1012 ScratchFile profile_file; in TEST_F() local 1014 profile_file.GetFilename(), in TEST_F() [all …]
|
D | profman.cc | 686 for (const std::string& profile_file : profile_files_) { in DumpProfileInfo() local 687 int ret = DumpOneProfile(kOrdinaryProfile, profile_file, kInvalidFd, &dex_files, &dump); in DumpProfileInfo() 780 bool GetClassNamesAndMethods(const std::string& profile_file, in GetClassNamesAndMethods() argument 788 int fd = open(profile_file.c_str(), flags); in GetClassNamesAndMethods() 790 PLOG(ERROR) << "Cannot open " << profile_file; in GetClassNamesAndMethods() 822 for (const std::string& profile_file : profile_files_) { in DumpClassesAndMethods() local 823 if (!GetClassNamesAndMethods(profile_file, &dex_files, &class_names)) { in DumpClassesAndMethods()
|
/art/runtime/jit/ |
D | jit.cc | 941 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() 1369 const std::string& profile_file, in CompileMethodsFromBootProfile() argument 1372 unix_file::FdFile profile(profile_file.c_str(), O_RDONLY, true); in CompileMethodsFromBootProfile() 1375 PLOG(WARNING) << "No boot profile: " << profile_file; in CompileMethodsFromBootProfile() 1381 LOG(ERROR) << "Could not load profile file: " << profile_file; in CompileMethodsFromBootProfile() 1411 const std::string& profile_file, in CompileMethodsFromProfile() argument [all …]
|
/art/runtime/ |
D | dexopt_test.cc | 111 ScratchFile profile_file; in GenerateOatForTest() local 113 args.push_back("--profile-file=" + profile_file.GetFilename()); in GenerateOatForTest()
|
D | Android.bp | 444 profile_file: "art/libart_arm_arm64.profdata", 449 profile_file: "art/libart_arm_arm64.profdata", 454 profile_file: "art/libart_x86_x86_64.profdata", 459 profile_file: "art/libart_x86_x86_64.profdata",
|
/art/libprofile/profile/ |
D | profile_compilation_info.cc | 226 ScopedFlock profile_file = in MergeWith() local 229 if (profile_file.get() == nullptr) { in MergeWith() 234 int fd = profile_file->Fd(); in MergeWith() 261 ScopedFlock profile_file = in Load() local 264 if (profile_file.get() == nullptr) { in Load() 269 int fd = profile_file->Fd(); in Load() 280 if (profile_file->ClearContent()) { in Load() 303 ScopedFlock profile_file = in Save() local 305 if (profile_file.get() == nullptr) { in Save() 310 int fd = profile_file->Fd(); in Save() [all …]
|
/art/runtime/native/ |
D | dalvik_system_VMRuntime.cc | 645 jstring profile_file, in VMRuntime_registerAppInfo() argument 656 const char* raw_profile_file = env->GetStringUTFChars(profile_file, nullptr); in VMRuntime_registerAppInfo() 658 env->ReleaseStringUTFChars(profile_file, raw_profile_file); in VMRuntime_registerAppInfo()
|