Home
last modified time | relevance | path

Searched refs:current_profiles_ (Results 1 – 2 of 2) sorted by relevance

/external/v8/src/
Dprofile-generator.cc453 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()
[all …]
Dprofile-generator.h300 List<CpuProfile*> current_profiles_; variable