Home
last modified time | relevance | path

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

/external/v8/src/profiler/
Dprofile-generator.cc482 current_profiles_.Iterate(DeleteCpuProfile); in ~CpuProfilesCollection()
489 if (current_profiles_.length() >= kMaxSimultaneousProfiles) { in StartProfiling()
493 for (int i = 0; i < current_profiles_.length(); ++i) { in StartProfiling()
494 if (strcmp(current_profiles_[i]->title(), title) == 0) { in StartProfiling()
501 current_profiles_.Add(new CpuProfile(profiler_, title, record_samples)); in StartProfiling()
511 for (int i = current_profiles_.length() - 1; i >= 0; --i) { in StopProfiling()
512 if (title_len == 0 || strcmp(current_profiles_[i]->title(), title) == 0) { in StopProfiling()
513 profile = current_profiles_.Remove(i); in StopProfiling()
529 if (current_profiles_.length() != 1) return false; in IsLastProfile()
531 || strcmp(current_profiles_[0]->title(), title) == 0; in IsLastProfile()
[all …]
Dprofile-generator.h359 List<CpuProfile*> current_profiles_; variable