Searched refs:profile (Results 1 - 7 of 7) sorted by relevance
/art/runtime/jit/ |
H A D | profile_compilation_info_test.cc | 94 ScratchFile profile; local 107 ASSERT_TRUE(SaveProfilingInfo(profile.GetFilename(), main_methods, resolved_classes)); 109 // Check that what we saved is in the profile. 111 ASSERT_TRUE(info1.Load(GetFd(profile))); 122 ASSERT_TRUE(SaveProfilingInfo(profile.GetFilename(), second_methods, resolved_classes)); 124 // Check that what we saved is in the profile (methods form Main and Second). 126 ASSERT_TRUE(profile.GetFile()->ResetOffset()); 127 ASSERT_TRUE(info2.Load(GetFd(profile))); 141 ScratchFile profile; local 149 ASSERT_TRUE(saved_info.Save(GetFd(profile))); 176 ScratchFile profile; local 185 ScratchFile profile; local 197 ScratchFile profile; local 222 ScratchFile profile; local 236 ScratchFile profile; local 247 ScratchFile profile; local 256 ScratchFile profile; local 270 ScratchFile profile; local 286 ScratchFile profile; local 307 ScratchFile profile; local [all...] |
H A D | profile_saver.h | 29 // Starts the profile saver thread if not already started. 38 // Stops the profile saver thread. 44 // Returns true if the profile saver is started. 49 // If the profile saver is running, dumps statistics to the `os`. Otherwise it does nothing. 59 static bool HasSeenMethod(const std::string& profile, 94 // Retrieves the cached profile compilation info for the given profile file. 118 // It maps profile locations to code paths (dex base locations). 135 // A local cache for the profile information. Maps each tracked file to its 136 // profile informatio [all...] |
H A D | profile_saver.cc | 35 // with all profile savers running at the same time. 38 // Minimum number of JIT samples during launch to include a method into the profile. 84 // TODO(calin) This only considers the case of the primary profile file. 196 // Get resolved methods that have a profile info or more than kStartupMethodSamples samples. 210 // Have samples, add to profile. 315 // Force the save. In case the profile data is corrupted or the the profile 375 VLOG(profiler) << "Asked to profile a location without an oat file:" << location; 420 VLOG(profiler) << "Starting profile saver using output file: " << output_filename 442 VLOG(profiler) << "Stopping profile save 675 HasSeenMethod(const std::string& profile, const DexFile* dex_file, uint16_t method_idx) argument [all...] |
/art/test/595-profile-saving/src/ |
H A D | Main.java | 30 String codePath = System.getenv("DEX_LOCATION") + "/595-profile-saving.jar"; 39 throw new RuntimeException("Method with index " + methodIdx + " not in the profile"); 50 // Make sure we have a profile info for this method without the need to loop. 56 // Ensures the profile saver does its usual processing. 59 public static native boolean presentInProfile(String profile, int methodIdx); argument 94 public static void registerAppInfo(String profile, String appDir, argument 96 registerAppInfoMethod.invoke(null, profile, appDir, codePaths, foreignDir);
|
/art/test/ |
H A D | Android.libarttest.mk | 46 595-profile-saving/profile-saving.cc \
|
H A D | Android.run-test.mk | 213 # Disable 577-profile-foreign-dex (b/27454772). 215 577-profile-foreign-dex \ 289 # 554-jit-profile-file is disabled because it needs a primary oat file to know what it should save. 294 554-jit-profile-file \ 313 554-jit-profile-file 384 # 554-jit-profile-file is disabled because it needs a primary oat file to know what it should save. 393 554-jit-profile-file 446 554-jit-profile-file
|
/art/profman/ |
H A D | profile_assistant_test.cc | 33 const ScratchFile& profile, 48 ASSERT_TRUE(info->Save(GetFd(profile))); 49 ASSERT_EQ(0, profile.GetFile()->Flush()); 50 ASSERT_TRUE(profile.GetFile()->ResetOffset()); 76 argv_str.push_back("--profile-file-fd=" + std::to_string(profiles_fd[k])); 78 argv_str.push_back("--reference-profile-file-fd=" + std::to_string(reference_profile_fd)); 158 // The new profile info will contain the methods with indices 0-100. 166 // The reference profile info will contain the methods with indices 50-150. 223 // Reference profile files must remain empty. 256 // Reference profile file 29 SetupProfile(const std::string& id, uint32_t checksum, uint16_t number_of_methods, uint16_t number_of_classes, const ScratchFile& profile, ProfileCompilationInfo* info, uint16_t start_method_index = 0) argument [all...] |
Completed in 292 milliseconds