Searched refs:RuntimeProfiler (Results 1 – 14 of 14) sorted by relevance
110 Atomic32 RuntimeProfiler::state_ = 0;114 Semaphore* RuntimeProfiler::semaphore_ = OS::CreateSemaphore(0);118 bool RuntimeProfiler::has_been_globally_setup_ = false;120 bool RuntimeProfiler::enabled_ = false;123 RuntimeProfiler::RuntimeProfiler(Isolate* isolate) in RuntimeProfiler() function in v8::internal::RuntimeProfiler142 void RuntimeProfiler::GlobalSetup() { in GlobalSetup()151 void RuntimeProfiler::Optimize(JSFunction* function, bool eager, int delay) { in Optimize()168 void RuntimeProfiler::AttemptOnStackReplacement(JSFunction* function) { in AttemptOnStackReplacement()214 void RuntimeProfiler::ClearSampleBuffer() { in ClearSampleBuffer()220 int RuntimeProfiler::LookupSample(JSFunction* function) { in LookupSample()[all …]
43 class RuntimeProfiler {45 explicit RuntimeProfiler(Isolate* isolate);181 void RuntimeProfiler::IsolateEnteredJS(Isolate* isolate) { in IsolateEnteredJS()193 void RuntimeProfiler::IsolateExitedJS(Isolate* isolate) { in IsolateExitedJS()
642 if (sampler_->IsProfiling() && RuntimeProfiler::IsEnabled()) { in SignalSender()645 RuntimeProfiler::NotifyTick(); in SignalSender()649 if (RuntimeProfiler::IsEnabled()) RuntimeProfiler::NotifyTick(); in SignalSender()
812 RuntimeProfiler* runtime_profiler() { return runtime_profiler_; } in runtime_profiler()1007 if (RuntimeProfiler::IsEnabled()) { in SetCurrentVMState()1011 RuntimeProfiler::IsolateEnteredJS(this); in SetCurrentVMState()1014 ASSERT(RuntimeProfiler::IsSomeIsolateInJS()); in SetCurrentVMState()1015 RuntimeProfiler::IsolateExitedJS(this); in SetCurrentVMState()1142 RuntimeProfiler* runtime_profiler_;
207 RuntimeProfiler::GlobalSetup(); in InitializeOncePerProcess()
955 if (RuntimeProfiler::IsEnabled() && current_vm_state() == JS) { in ArchiveThread()956 RuntimeProfiler::IsolateExitedJS(this); in ArchiveThread()977 if (RuntimeProfiler::IsEnabled() && current_vm_state() == JS) { in RestoreThread()978 RuntimeProfiler::IsolateEnteredJS(this); in RestoreThread()
652 RuntimeProfiler::WakeUpRuntimeProfilerThreadBeforeShutdown(); in RemoveActiveSampler()666 bool runtime_profiler_enabled = RuntimeProfiler::IsEnabled(); in Run()
714 RuntimeProfiler::WakeUpRuntimeProfilerThreadBeforeShutdown(); in RemoveActiveSampler()734 bool runtime_profiler_enabled = RuntimeProfiler::IsEnabled(); in Run()
691 RuntimeProfiler::WakeUpRuntimeProfilerThreadBeforeShutdown(); in RemoveActiveSampler()705 bool runtime_profiler_enabled = RuntimeProfiler::IsEnabled(); in Run()
958 RuntimeProfiler::WakeUpRuntimeProfilerThreadBeforeShutdown(); in RemoveActiveSampler()973 bool runtime_profiler_enabled = RuntimeProfiler::IsEnabled(); in Run()
213 if (!profiler_ && IsActive() && !RuntimeProfiler::IsEnabled()) Stop(); in ClearWindow()226 if (!window_ && IsActive() && !RuntimeProfiler::IsEnabled()) Stop(); in ClearProfiler()1177 if (!FLAG_sliding_state_window && !RuntimeProfiler::IsEnabled()) { in PauseProfiler()
1895 RuntimeProfiler::WakeUpRuntimeProfilerThreadBeforeShutdown(); in RemoveActiveSampler()1909 bool runtime_profiler_enabled = RuntimeProfiler::IsEnabled(); in Run()
818 runtime_profiler_ = new RuntimeProfiler(this); in Init()
252 CHECK(i::RuntimeProfiler::IsEnabled() || in CheckThatProfilerWorks()279 CHECK(i::RuntimeProfiler::IsEnabled() || in CheckThatProfilerWorks()303 CHECK(i::RuntimeProfiler::IsEnabled() || in TEST()