Lines Matching refs:current_profiles_
453 current_profiles_.Iterate(DeleteCpuProfile); in ~CpuProfilesCollection()
461 if (current_profiles_.length() >= kMaxSimultaneousProfiles) { in StartProfiling()
465 for (int i = 0; i < current_profiles_.length(); ++i) { in StartProfiling()
466 if (strcmp(current_profiles_[i]->title(), title) == 0) { in StartProfiling()
473 current_profiles_.Add(new CpuProfile(title, record_samples)); in StartProfiling()
483 for (int i = current_profiles_.length() - 1; i >= 0; --i) { in StopProfiling()
484 if (title_len == 0 || strcmp(current_profiles_[i]->title(), title) == 0) { in StopProfiling()
485 profile = current_profiles_.Remove(i); in StopProfiling()
501 if (current_profiles_.length() != 1) return false; in IsLastProfile()
503 || strcmp(current_profiles_[0]->title(), title) == 0; in IsLastProfile()
525 for (int i = 0; i < current_profiles_.length(); ++i) { in AddPathToCurrentProfiles()
526 current_profiles_[i]->AddPath(timestamp, path); in AddPathToCurrentProfiles()