35 Counters::Counters() {
36 #define HT(name, caption) \
37 HistogramTimer name = { #caption, NULL, false, 0, 0 }; \
42 #define SC(name, caption) \
43 StatsCounter name = { "c:" #caption, NULL, false };\
51 #define COUNTER_NAME(name) \
52 { "c:V8.State" #name, NULL, false },
57 for (
int i = 0; i < kSlidingStateWindowCounterCount; ++i) {
58 state_counters_[i] = state_counters[i];
#define STATS_COUNTER_LIST_2(SC)
#define HT(name, caption)
#define SC(name, caption)
#define HISTOGRAM_TIMER_LIST(HT)
#define COUNTER_NAME(name)
#define STATS_COUNTER_LIST_1(SC)
StatsCounter * state_counters(StateTag state)
#define STATE_TAG_LIST(V)