Lines Matching refs:RuntimeCallCounter
32 class RuntimeCallCounter final {
34 RuntimeCallCounter() : RuntimeCallCounter(nullptr) {}
35 explicit RuntimeCallCounter(const char* name)
39 void Add(RuntimeCallCounter* other);
59 // timers used for properly measuring the own time of a RuntimeCallCounter.
62 RuntimeCallCounter* counter() { return counter_; }
63 void set_counter(RuntimeCallCounter* counter) { counter_ = counter; }
70 inline void Start(RuntimeCallCounter* counter, RuntimeCallTimer* parent) {
123 RuntimeCallCounter* counter_ = nullptr;
611 RuntimeCallCounter* current_counter() { return current_counter_.Value(); }
643 RuntimeCallCounter* GetCounter(RuntimeCallCounterId counter_id) {
646 RuntimeCallCounter* GetCounter(int counter_id) {
654 base::AtomicValue<RuntimeCallCounter*> current_counter_;
659 RuntimeCallCounter counters_[kNumberOfCounters];