Home
last modified time | relevance | path

Searched refs:profile_key (Results 1 – 3 of 3) sorted by relevance

/art/libprofile/profile/
Dprofile_compilation_info.cc186 const std::string& profile_key) { in GetBaseKeyFromAugmentedKey() argument
187 size_t pos = profile_key.rfind(kSampleMetadataSeparator); in GetBaseKeyFromAugmentedKey()
188 return (pos == std::string::npos) ? profile_key : profile_key.substr(0, pos); in GetBaseKeyFromAugmentedKey()
411 dex_data.profile_key.size() + in Save()
441 if (dex_data.profile_key.size() >= kMaxDexFileKeyLength) { in Save()
448 DCHECK_LE(dex_data.profile_key.size(), std::numeric_limits<uint16_t>::max()); in Save()
451 AddUintToBuffer(&buffer, static_cast<uint16_t>(dex_data.profile_key.size())); in Save()
457 AddStringToBuffer(&buffer, dex_data.profile_key); in Save()
609 const std::string& profile_key, in GetOrAddDexFileData() argument
612 const auto profile_index_it = profile_key_map_.FindOrAdd(profile_key, profile_key_map_.size()); in GetOrAddDexFileData()
[all …]
Dprofile_compilation_info.h93 : profile_key(key), dex_checksum(checksum), num_method_ids(num_methods) {} in DexReference()
97 profile_key == other.profile_key &&
103 profile_key == GetProfileDexFileBaseKey(dex_file->GetLocation()); in MatchesDex()
106 std::string profile_key; member
506 static std::string GetBaseKeyFromAugmentedKey(const std::string& profile_key);
607 profile_key(key), in DexFileData()
663 std::string profile_key; member
689 DexFileData* GetOrAddDexFileData(const std::string& profile_key,
706 const DexFileData* FindDexData(const std::string& profile_key,
742 std::string profile_key; member
/art/profman/
Dprofman.cc472 [profile_filter_keys](const std::string& profile_key, uint32_t checksum) { in ProcessProfiles() argument
478 … std::string base_key = ProfileCompilationInfo::GetBaseKeyFromAugmentedKey(profile_key); in ProcessProfiles()