Lines Matching defs:sampler
81 // This design minimizes the time spent in the sampler.
1679 Sampler* Logger::sampler() {
1749 static void ComputeCpuProfiling(Sampler* sampler, void* flag_ptr) {
1751 *flag |= sampler->IsProfiling();
1764 void SamplerRegistry::AddActiveSampler(Sampler* sampler) {
1765 ASSERT(sampler->IsActive());
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);