Lines Matching defs:profile
5 #include "src/profiler/profile-generator.h"
14 #include "src/profiler/profile-generator-inl.h"
611 // are possible irrespective of the profile's sampling interval. Manually
1079 for (const std::unique_ptr<CpuProfile>& profile : current_profiles_) {
1080 if ((profile->title() != nullptr && title != nullptr &&
1081 strcmp(profile->title(), title) == 0) ||
1082 profile->id() == id) {
1083 // Ignore attempts to start profile with the same title or id
1087 profile->id(),
1093 CpuProfile* profile =
1095 current_profiles_.emplace_back(profile);
1099 profile->id(),
1106 CpuProfile* profile = nullptr;
1114 profile = it->get();
1120 return profile;
1130 // http://crbug/51594, edge case console.profile may provide an empty title
1154 void CpuProfilesCollection::RemoveProfile(CpuProfile* profile) {
1155 // Called from VM thread for a completed profile.
1160 return finished_profile.get() == profile;
1182 for (const auto& profile : current_profiles_) {
1183 // Snap the profile's requested sampling interval to the next multiple of
1187 (profile->sampling_interval_us() + base_sampling_interval_us - 1) /
1206 for (const std::unique_ptr<CpuProfile>& profile : current_profiles_) {
1207 ContextFilter& context_filter = profile->context_filter();
1219 profile->AddPath(timestamp, accepts_context ? path : empty_path, src_line,
1230 for (const std::unique_ptr<CpuProfile>& profile : current_profiles_) {
1231 profile->context_filter().OnMoveEvent(from, to);