• Home
  • Raw
  • Download

Lines Matching refs:metadata

72 static std::string GetPackageUseString(const FlattenProfileData::ItemMetadata& metadata) {  in GetPackageUseString()  argument
74 for (const auto& it : metadata.GetAnnotations()) { in GetPackageUseString()
78 return metadata.GetAnnotations().empty() in GetPackageUseString()
86 const FlattenProfileData::ItemMetadata& metadata, in MethodToProfileFormat() argument
89 if (metadata.HasFlagSet(Hotness::kFlagHot)) { in MethodToProfileFormat()
92 if (metadata.HasFlagSet(Hotness::kFlagStartup)) { in MethodToProfileFormat()
95 if (metadata.HasFlagSet(Hotness::kFlagPostStartup)) { in MethodToProfileFormat()
100 extra = kPackageUseDelim + GetPackageUseString(metadata); in MethodToProfileFormat()
109 const FlattenProfileData::ItemMetadata& metadata, in ClassToProfileFormat() argument
113 extra = kPackageUseDelim + GetPackageUseString(metadata); in ClassToProfileFormat()
152 const FlattenProfileData::ItemMetadata& metadata, in IncludeItemInProfile() argument
155 float item_percent = metadata.GetAnnotations().size() / static_cast<float>(max_aggregation_count); in IncludeItemInProfile()
156 for (const auto& annotIt : metadata.GetAnnotations()) { in IncludeItemInProfile()
170 const FlattenProfileData::ItemMetadata& metadata, in IncludeMethodInProfile() argument
172 return IncludeItemInProfile(max_aggregation_count, options.method_threshold, metadata, options); in IncludeMethodInProfile()
178 const FlattenProfileData::ItemMetadata& metadata, in IncludeClassInProfile() argument
183 return IncludeItemInProfile(max_aggregation_count, threshold, metadata, options); in IncludeClassInProfile()
190 const FlattenProfileData::ItemMetadata& metadata, in IncludeInPreloadedClasses() argument
195 max_aggregation_count, options.preloaded_class_threshold, metadata, options); in IncludeInPreloadedClasses()
232 FlattenProfileData::ItemMetadata metadata(it.second); in GenerateBootImageProfile() local
234 && ((metadata.GetFlags() & Hotness::Flag::kFlagStartup) != 0)) { in GenerateBootImageProfile()
235 metadata.AddFlag(Hotness::Flag::kFlagHot); in GenerateBootImageProfile()
237 profile_methods.Put(BootImageRepresentation(it.first), metadata); in GenerateBootImageProfile()
243 const FlattenProfileData::ItemMetadata& metadata = it.second; in GenerateBootImageProfile() local
246 metadata, in GenerateBootImageProfile()
254 metadata, in GenerateBootImageProfile()