Home | History | Annotate | Download | only in src

Lines Matching defs:sampler

81 // This design minimizes the time spent in the sampler.
188 class Ticker: public Sampler {
191 Sampler(isolate, interval),
1679 Sampler* Logger::sampler() {
1735 List<Sampler*>* SamplerRegistry::active_samplers_ = NULL;
1749 static void ComputeCpuProfiling(Sampler* sampler, void* flag_ptr) {
1751 *flag |= sampler->IsProfiling();
1764 void SamplerRegistry::AddActiveSampler(Sampler* sampler) {
1765 ASSERT(sampler->IsActive());
1768 active_samplers_ = new List<Sampler*>;
1770 ASSERT(!active_samplers_->Contains(sampler));
1772 active_samplers_->Add(sampler);
1776 void SamplerRegistry::RemoveActiveSampler(Sampler* sampler) {
1777 ASSERT(sampler->IsActive());
1780 bool removed = active_samplers_->RemoveElement(sampler);