Home
last modified time | relevance | path

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

/art/dexlayout/
Ddexlayout_test.cc397 std::string profile_file = tmp_dir + "primary.prof"; in DexFileLayoutExec() local
398 CreateProfile(dex_file, profile_file, dex_file); in DexFileLayoutExec()
403 { "-v", "-w", tmp_dir, "-o", tmp_name, "-p", profile_file, dex_file }; in DexFileLayoutExec()
409 if (!UnlinkFile(dex_file) || !UnlinkFile(profile_file) || !UnlinkFile(output_dex)) { in DexFileLayoutExec()
439 std::string profile_file = tmp_dir + "primary.prof"; in DexFileLayoutFixedPointExec() local
440 CreateProfile(dex_file, profile_file, dex_file); in DexFileLayoutFixedPointExec()
446 { "-i", "-v", "-w", tmp_dir, "-o", tmp_name, "-p", profile_file, dex_file }; in DexFileLayoutFixedPointExec()
453 CreateProfile(dex_file, profile_file, output_dex); in DexFileLayoutFixedPointExec()
458 { "-i", "-v", "-w", tmp_dir, "-o", tmp_name, "-p", profile_file, output_dex }; in DexFileLayoutFixedPointExec()
470 std::vector<std::string> test_files = { dex_file, profile_file, output_dex, second_output_dex }; in DexFileLayoutFixedPointExec()
[all …]
/art/dex2oat/
DAndroid.bp124 profile_file: "art/dex2oat_arm_arm64.profdata",
129 profile_file: "art/dex2oat_arm_arm64.profdata",
134 profile_file: "art/dex2oat_x86_x86_64.profdata",
139 profile_file: "art/dex2oat_x86_x86_64.profdata",
144 profile_file: "art/dex2oat_mips_mips64.profdata",
149 profile_file: "art/dex2oat_mips_mips64.profdata",
Ddex2oat_image_test.cc335 ScratchFile profile_file; in TEST_F() local
336 profile.Save(profile_file.GetFile()->Fd()); in TEST_F()
337 EXPECT_EQ(profile_file.GetFile()->Flush(), 0); in TEST_F()
339 {"--profile-file=" + profile_file.GetFilename(), in TEST_F()
341 profile_file.Close(); in TEST_F()
Ddex2oat.cc2348 ScopedFlock profile_file; in LoadProfile() local
2351 profile_file = LockedFile::DupOf(profile_file_fd_, "profile", in LoadProfile()
2354 profile_file = LockedFile::Open(profile_file_.c_str(), O_RDONLY, true, &error); in LoadProfile()
2358 if (profile_file.get() == nullptr) { in LoadProfile()
2363 if (!profile_compilation_info_->Load(profile_file->Fd())) { in LoadProfile()
Ddex2oat_test.cc1306 ScratchFile profile_file; in TEST_F() local
1359 ASSERT_TRUE(info.Save(profile_file.GetFd())); in TEST_F()
1370 {"--profile-file=" + profile_file.GetFilename()}); in TEST_F()
/art/profman/
Dprofile_assistant_test.cc302 ScratchFile profile_file; in CreateAndDump() local
304 profile_file.GetFilename(), in CreateAndDump()
306 profile_file.GetFile()->ResetOffset(); in CreateAndDump()
307 EXPECT_TRUE(DumpClassesAndMethods(profile_file.GetFilename(), output_file_contents)); in CreateAndDump()
709 ScratchFile profile_file; in TEST_F() local
711 profile_file.GetFilename(), in TEST_F()
714 profile_file.GetFile()->ResetOffset(); in TEST_F()
715 ASSERT_TRUE(info.Load(GetFd(profile_file))); in TEST_F()
895 ScratchFile profile_file; in TEST_F() local
897 profile_file.GetFilename(), in TEST_F()
[all …]
Dprofman.cc530 for (const std::string& profile_file : profile_files_) { in DumpProfileInfo() local
531 int ret = DumpOneProfile(kOrdinaryProfile, profile_file, kInvalidFd, &dex_files, &dump); in DumpProfileInfo()
625 bool GetClassNamesAndMethods(const std::string& profile_file, in GetClassNamesAndMethods() argument
628 int fd = open(profile_file.c_str(), O_RDONLY); in GetClassNamesAndMethods()
630 LOG(ERROR) << "Cannot open " << profile_file << strerror(errno); in GetClassNamesAndMethods()
662 for (const std::string& profile_file : profile_files_) { in DumpClassesAndMethods() local
663 if (!GetClassNamesAndMethods(profile_file, &dex_files, &class_names)) { in DumpClassesAndMethods()
1106 for (const std::string& profile_file : profile_files_) { in CreateBootProfile() local
1107 … std::unique_ptr<const ProfileCompilationInfo> profile(LoadProfile(profile_file, kInvalidFd)); in CreateBootProfile()
/art/runtime/
Ddexopt_test.cc80 ScratchFile profile_file; in GenerateOatForTest() local
82 args.push_back("--profile-file=" + profile_file.GetFilename()); in GenerateOatForTest()
/art/runtime/jit/
Dprofile_compilation_info.cc191 ScopedFlock profile_file = LockedFile::Open(filename.c_str(), flags, in MergeWith() local
194 if (profile_file.get() == nullptr) { in MergeWith()
199 int fd = profile_file->Fd(); in MergeWith()
222 ScopedFlock profile_file = LockedFile::Open(filename.c_str(), flags, in Load() local
225 if (profile_file.get() == nullptr) { in Load()
230 int fd = profile_file->Fd(); in Load()
241 if (profile_file->ClearContent()) { in Load()
260 ScopedFlock profile_file = LockedFile::Open(filename.c_str(), flags, in Save() local
262 if (profile_file.get() == nullptr) { in Save()
267 int fd = profile_file->Fd(); in Save()
[all …]
/art/runtime/native/
Ddalvik_system_VMRuntime.cc627 jstring profile_file, in VMRuntime_registerAppInfo() argument
638 const char* raw_profile_file = env->GetStringUTFChars(profile_file, nullptr); in VMRuntime_registerAppInfo()
640 env->ReleaseStringUTFChars(profile_file, raw_profile_file); in VMRuntime_registerAppInfo()