Lines Matching full:counters
26 // counters for monitoring. Counters can be looked up and
29 class Counters; variable
83 friend class Counters;
85 explicit StatsTable(Counters* counters);
94 // Base class for stats counters.
97 Counters* counters_;
102 StatsCounterBase(Counters* counters, const char* name) in StatsCounterBase() argument
103 : counters_(counters), name_(name), ptr_(nullptr) {} in StatsCounterBase()
162 friend class Counters;
165 StatsCounter(Counters* counters, const char* name) in StatsCounter() argument
166 : StatsCounterBase(counters, name), lookup_done_(false) {} in StatsCounter()
197 friend class Counters;
199 StatsCounterThreadSafe(Counters* counters, const char* name);
223 // Asserts that |expected_counters| are the same as the Counters this
225 void AssertReportsToCounters(Counters* expected_counters) { in AssertReportsToCounters()
232 Counters* counters) in Histogram() argument
238 counters_(counters) { in Histogram()
242 Counters* counters() const { return counters_; } in counters() function
248 friend class Counters;
257 Counters* counters_;
277 friend class Counters;
283 Counters* counters) in TimedHistogram() argument
284 : Histogram(name, min, max, num_buckets, counters), in TimedHistogram()
311 // |histogram->counters()|, making it is safe to report to an
319 std::shared_ptr<Counters> async_counters) in AsyncTimedHistogram()
341 std::shared_ptr<Counters> async_counters_;
375 Counters* counters) in HistogramTimer() argument
376 : TimedHistogram(name, min, max, resolution, num_buckets, counters) {} in HistogramTimer()
392 friend class Counters;
488 friend class Counters;
492 int num_buckets, Counters* counters) in AggregatableHistogramTimer() argument
493 : Histogram(name, min, max, num_buckets, counters) {} in AggregatableHistogramTimer()
559 friend class Counters;
1087 isolate->counters()->runtime_call_stats(), \
1421 // This file contains all the v8 counters that are in use.
1422 class Counters : public std::enable_shared_from_this<Counters> {
1424 explicit Counters(Isolate* isolate);
1601 DISALLOW_IMPLICIT_CONSTRUCTORS(Counters);
1605 TimedHistogram::Start(&timer_, counters()->isolate()); in Start()
1609 TimedHistogram::Stop(&timer_, counters()->isolate()); in Stop()
1615 stats_ = isolate->counters()->runtime_call_stats(); in RuntimeCallTimerScope()