sampler 508 src/cpu-profiler.cc Sampler* sampler = reinterpret_cast<Sampler*>(isolate->logger()->ticker_); sampler 509 src/cpu-profiler.cc if (!sampler->IsActive()) { sampler 510 src/cpu-profiler.cc sampler->Start(); sampler 513 src/cpu-profiler.cc sampler->IncreaseProfilingDepth(); sampler 549 src/cpu-profiler.cc Sampler* sampler = reinterpret_cast<Sampler*>(logger->ticker_); sampler 550 src/cpu-profiler.cc sampler->DecreaseProfilingDepth(); sampler 552 src/cpu-profiler.cc sampler->Stop(); sampler 1758 src/log.cc *flag |= sampler->IsProfiling(); sampler 1772 src/log.cc ASSERT(sampler->IsActive()); sampler 1777 src/log.cc ASSERT(!active_samplers_->Contains(sampler)); sampler 1779 src/log.cc active_samplers_->Add(sampler); sampler 1784 src/log.cc ASSERT(sampler->IsActive()); sampler 1787 src/log.cc bool removed = active_samplers_->RemoveElement(sampler); sampler 157 src/log.h Sampler* sampler(); sampler 451 src/log.h static void AddActiveSampler(Sampler* sampler); sampler 452 src/log.h static void RemoveActiveSampler(Sampler* sampler); sampler 628 src/platform-cygwin.cc SamplerRegistry::AddActiveSampler(sampler); sampler 630 src/platform-cygwin.cc instance_ = new SamplerThread(sampler->interval()); sampler 633 src/platform-cygwin.cc ASSERT(instance_->interval_ == sampler->interval()); sampler 639 src/platform-cygwin.cc SamplerRegistry::RemoveActiveSampler(sampler); sampler 675 src/platform-cygwin.cc if (!sampler->isolate()->IsInitialized()) return; sampler 676 src/platform-cygwin.cc if (!sampler->IsProfiling()) return; sampler 679 src/platform-cygwin.cc sampler_thread->SampleContext(sampler); sampler 683 src/platform-cygwin.cc if (!sampler->isolate()->IsInitialized()) return; sampler 684 src/platform-cygwin.cc sampler->isolate()->runtime_profiler()->NotifyTick(); sampler 688 src/platform-cygwin.cc HANDLE profiled_thread = sampler->platform_data()->profiled_thread(); sampler 696 src/platform-cygwin.cc TickSample* sample = CpuProfiler::TickSampleEvent(sampler->isolate()); sampler 701 src/platform-cygwin.cc sample->state = sampler->isolate()->current_vm_state(); sampler 714 src/platform-cygwin.cc sampler->SampleStack(sample); sampler 715 src/platform-cygwin.cc sampler->Tick(sample); sampler 678 src/platform-freebsd.cc Sampler* sampler = isolate->logger()->sampler(); sampler 679 src/platform-freebsd.cc if (sampler == NULL || !sampler->IsActive()) return; sampler 702 src/platform-freebsd.cc sampler->SampleStack(sample); sampler 703 src/platform-freebsd.cc sampler->Tick(sample); sampler 725 src/platform-freebsd.cc SamplerRegistry::AddActiveSampler(sampler); sampler 736 src/platform-freebsd.cc instance_ = new SignalSender(sampler->interval()); sampler 739 src/platform-freebsd.cc ASSERT(instance_->interval_ == sampler->interval()); sampler 745 src/platform-freebsd.cc SamplerRegistry::RemoveActiveSampler(sampler); sampler 800 src/platform-freebsd.cc if (!sampler->IsProfiling()) return; sampler 802 src/platform-freebsd.cc sender->SendProfilingSignal(sampler->platform_data()->vm_tid()); sampler 806 src/platform-freebsd.cc if (!sampler->isolate()->IsInitialized()) return; sampler 807 src/platform-freebsd.cc sampler->isolate()->runtime_profiler()->NotifyTick(); sampler 1007 src/platform-linux.cc Sampler* sampler = isolate->logger()->sampler(); sampler 1008 src/platform-linux.cc if (sampler == NULL || !sampler->IsActive()) return; sampler 1044 src/platform-linux.cc sampler->SampleStack(sample); sampler 1045 src/platform-linux.cc sampler->Tick(sample); sampler 1095 src/platform-linux.cc SamplerRegistry::AddActiveSampler(sampler); sampler 1099 src/platform-linux.cc instance_ = new SignalSender(sampler->interval()); sampler 1102 src/platform-linux.cc ASSERT(instance_->interval_ == sampler->interval()); sampler 1108 src/platform-linux.cc SamplerRegistry::RemoveActiveSampler(sampler); sampler 1163 src/platform-linux.cc if (!sampler->IsProfiling()) return; sampler 1165 src/platform-linux.cc sender->SendProfilingSignal(sampler->platform_data()->vm_tid()); sampler 1169 src/platform-linux.cc if (!sampler->isolate()->IsInitialized()) return; sampler 1170 src/platform-linux.cc sampler->isolate()->runtime_profiler()->NotifyTick(); sampler 751 src/platform-macos.cc SamplerRegistry::AddActiveSampler(sampler); sampler 753 src/platform-macos.cc instance_ = new SamplerThread(sampler->interval()); sampler 756 src/platform-macos.cc ASSERT(instance_->interval_ == sampler->interval()); sampler 762 src/platform-macos.cc SamplerRegistry::RemoveActiveSampler(sampler); sampler 798 src/platform-macos.cc if (!sampler->isolate()->IsInitialized()) return; sampler 799 src/platform-macos.cc if (!sampler->IsProfiling()) return; sampler 802 src/platform-macos.cc sampler_thread->SampleContext(sampler); sampler 806 src/platform-macos.cc if (!sampler->isolate()->IsInitialized()) return; sampler 807 src/platform-macos.cc sampler->isolate()->runtime_profiler()->NotifyTick(); sampler 811 src/platform-macos.cc thread_act_t profiled_thread = sampler->platform_data()->profiled_thread(); sampler 813 src/platform-macos.cc TickSample* sample = CpuProfiler::TickSampleEvent(sampler->isolate()); sampler 844 src/platform-macos.cc sample->state = sampler->isolate()->current_vm_state(); sampler 848 src/platform-macos.cc sampler->SampleStack(sample); sampler 849 src/platform-macos.cc sampler->Tick(sample); sampler 734 src/platform-openbsd.cc Sampler* sampler = isolate->logger()->sampler(); sampler 735 src/platform-openbsd.cc if (sampler == NULL || !sampler->IsActive()) return; sampler 766 src/platform-openbsd.cc sampler->SampleStack(sample); sampler 767 src/platform-openbsd.cc sampler->Tick(sample); sampler 817 src/platform-openbsd.cc SamplerRegistry::AddActiveSampler(sampler); sampler 821 src/platform-openbsd.cc instance_ = new SignalSender(sampler->interval()); sampler 824 src/platform-openbsd.cc ASSERT(instance_->interval_ == sampler->interval()); sampler 830 src/platform-openbsd.cc SamplerRegistry::RemoveActiveSampler(sampler); sampler 885 src/platform-openbsd.cc if (!sampler->IsProfiling()) return; sampler 887 src/platform-openbsd.cc sender->SendProfilingSignal(sampler->platform_data()->vm_tid()); sampler 891 src/platform-openbsd.cc if (!sampler->isolate()->IsInitialized()) return; sampler 892 src/platform-openbsd.cc sampler->isolate()->runtime_profiler()->NotifyTick(); sampler 669 src/platform-solaris.cc Sampler* sampler = isolate->logger()->sampler(); sampler 670 src/platform-solaris.cc if (sampler == NULL || !sampler->IsActive()) return; sampler 685 src/platform-solaris.cc sampler->SampleStack(sample); sampler 686 src/platform-solaris.cc sampler->Tick(sample); sampler 734 src/platform-solaris.cc SamplerRegistry::AddActiveSampler(sampler); sampler 738 src/platform-solaris.cc instance_ = new SignalSender(sampler->interval()); sampler 741 src/platform-solaris.cc ASSERT(instance_->interval_ == sampler->interval()); sampler 747 src/platform-solaris.cc SamplerRegistry::RemoveActiveSampler(sampler); sampler 803 src/platform-solaris.cc if (!sampler->IsProfiling()) return; sampler 805 src/platform-solaris.cc sender->SendProfilingSignal(sampler->platform_data()->vm_tid()); sampler 809 src/platform-solaris.cc if (!sampler->isolate()->IsInitialized()) return; sampler 810 src/platform-solaris.cc sampler->isolate()->runtime_profiler()->NotifyTick(); sampler 1974 src/platform-win32.cc SamplerRegistry::AddActiveSampler(sampler); sampler 1976 src/platform-win32.cc instance_ = new SamplerThread(sampler->interval()); sampler 1979 src/platform-win32.cc ASSERT(instance_->interval_ == sampler->interval()); sampler 1985 src/platform-win32.cc SamplerRegistry::RemoveActiveSampler(sampler); sampler 2021 src/platform-win32.cc if (!sampler->isolate()->IsInitialized()) return; sampler 2022 src/platform-win32.cc if (!sampler->IsProfiling()) return; sampler 2025 src/platform-win32.cc sampler_thread->SampleContext(sampler); sampler 2029 src/platform-win32.cc if (!sampler->isolate()->IsInitialized()) return; sampler 2030 src/platform-win32.cc sampler->isolate()->runtime_profiler()->NotifyTick(); sampler 2034 src/platform-win32.cc HANDLE profiled_thread = sampler->platform_data()->profiled_thread(); sampler 2042 src/platform-win32.cc TickSample* sample = CpuProfiler::TickSampleEvent(sampler->isolate()); sampler 2047 src/platform-win32.cc sample->state = sampler->isolate()->current_vm_state(); sampler 2060 src/platform-win32.cc sampler->SampleStack(sample); sampler 2061 src/platform-win32.cc sampler->Tick(sample); sampler 284 test/cctest/test-log.cc TestSampler* sampler = NULL; sampler 287 test/cctest/test-log.cc sampler = new TestSampler(v8::internal::Isolate::Current()); sampler 288 test/cctest/test-log.cc sampler->Start(); sampler 289 test/cctest/test-log.cc CHECK(sampler->IsActive()); sampler 297 test/cctest/test-log.cc CHECK(!sampler->WasSampleStackCalled()); sampler 300 test/cctest/test-log.cc CHECK(sampler->WaitForTick()); sampler 301 test/cctest/test-log.cc CHECK(sampler->WasSampleStackCalled()); sampler 302 test/cctest/test-log.cc sampler->Reset(); sampler 303 test/cctest/test-log.cc CHECK(!sampler->WasSampleStackCalled()); sampler 306 test/cctest/test-log.cc CHECK(!sampler->WaitForTick()); sampler 307 test/cctest/test-log.cc CHECK(!sampler->WasSampleStackCalled()); sampler 308 test/cctest/test-log.cc sampler->Stop(); sampler 315 test/cctest/test-log.cc delete sampler;