Lines Matching refs:histogram_
18 : histogram_(histogram) {}
21 DCHECK(histogram_->ToggleRunningState(true));
26 DCHECK(histogram_->ToggleRunningState(false));
27 histogram_->AddTimedSample(timer_.Elapsed());
32 if (histogram_->Enabled()) StartInternal();
36 if (histogram_->Enabled()) StopInternal();
40 Logger::CallEventLogger(isolate, histogram_->name(),
45 Logger::CallEventLogger(isolate, histogram_->name(),
50 TimedHistogram* histogram_;
115 histogram_ = histogram;
144 histogram_->AddTimedSample(elapsed);
155 if (histogram_->Enabled()) StartInteral();
160 if (histogram_->Enabled()) StopInternal();
165 DCHECK(histogram_->Enabled());
170 DCHECK(histogram_->Enabled());
175 if (histogram_ == isolate_->counters()->execute()) {
182 return static_cast<NestedTimedHistogram*>(histogram_);
194 : histogram_(histogram) {
195 previous_scope_ = histogram_->Enter(nullptr);
201 histogram_->Leave(previous_scope_);
208 bool isEnabled() const { return previous_scope_ && histogram_->Enabled(); }
209 NestedTimedHistogram* histogram_;