Lines Matching defs:counter
43 V8_NOINLINE void Add(RuntimeCallCounter* counter) {
44 if (counter->count() == 0) return;
46 Entry(counter->name(), counter->time(), counter->count()));
47 total_time_ += counter->time();
48 total_call_count_ += counter->count();
201 RuntimeCallCounter* counter = GetCounter(counter_id);
202 DCHECK_NOT_NULL(counter->name());
203 timer->Start(counter, current_timer());
205 current_counter_.SetValue(counter);
215 current_counter_.SetValue(cur_timer ? cur_timer->counter() : nullptr);
235 RuntimeCallCounter* counter = GetCounter(counter_id);
236 timer->set_counter(counter);
237 current_counter_.SetValue(counter);
266 // if runtime counter stack is not empty, we should clear the whole runtime
267 // counter stack, and then reset counters so that we can dump counters into