15 : lookup_function_(
NULL),
16 create_histogram_function_(
NULL),
17 add_histogram_sample_function_(
NULL) {}
58 #define HR(name, caption, min, max, num_buckets) \
59 name##_ = Histogram(#caption, min, max, num_buckets, isolate);
63 #define HT(name, caption) \
64 name##_ = HistogramTimer(#caption, 0, 10000, 50, isolate);
68 #define HP(name, caption) \
69 name##_ = Histogram(#caption, 0, 101, 100, isolate);
73 #define HM(name, caption) \
74 name##_ = Histogram(#caption, 1000, 500000, 50, isolate);
78 #define SC(name, caption) \
79 name##_ = StatsCounter(isolate, "c:" #caption);
86 count_of_##name##_ = StatsCounter(isolate, "c:" "V8.CountOf_" #name); \
87 size_of_##name##_ = StatsCounter(isolate, "c:" "V8.SizeOf_" #name);
92 count_of_CODE_TYPE_##name##_ = \
93 StatsCounter(isolate, "c:" "V8.CountOf_CODE_TYPE-" #name); \
94 size_of_CODE_TYPE_##name##_ = \
95 StatsCounter(isolate, "c:" "V8.SizeOf_CODE_TYPE-" #name);
100 count_of_FIXED_ARRAY_##name##_ = \
101 StatsCounter(isolate, "c:" "V8.CountOf_FIXED_ARRAY-" #name); \
102 size_of_FIXED_ARRAY_##name##_ = \
103 StatsCounter(isolate, "c:" "V8.SizeOf_FIXED_ARRAY-" #name);
108 count_of_CODE_AGE_##name##_ = \
109 StatsCounter(isolate, "c:" "V8.CountOf_CODE_AGE-" #name); \
110 size_of_CODE_AGE_##name##_ = \
111 StatsCounter(isolate, "c:" "V8.SizeOf_CODE_AGE-" #name);
118 #define SC(name, caption) name##_.Reset();
124 count_of_##name##_.Reset(); \
125 size_of_##name##_.Reset();
130 count_of_CODE_TYPE_##name##_.Reset(); \
131 size_of_CODE_TYPE_##name##_.Reset();
136 count_of_FIXED_ARRAY_##name##_.Reset(); \
137 size_of_FIXED_ARRAY_##name##_.Reset();
142 count_of_CODE_AGE_##name##_.Reset(); \
143 size_of_CODE_AGE_##name##_.Reset();
150 #define HR(name, caption, min, max, num_buckets) name##_.Reset();
154 #define HT(name, caption) name##_.Reset();
158 #define HP(name, caption) name##_.Reset();
162 #define HM(name, caption) name##_.Reset();
#define CODE_AGE_LIST_COMPLETE(V)
Counters(Isolate *isolate)
base::ElapsedTimer timer_
void * CreateHistogram() const
void AddSample(int sample)
Isolate * isolate() const
StatsTable * stats_table()
int * FindLocationInStatsTable() const
void AddHistogramSample(void *histogram, int sample)
int * FindLocation(const char *name)
#define HT(name, caption)
#define HR(name, caption, min, max, num_buckets)
#define HP(name, caption)
#define HM(name, caption)
#define SC(name, caption)
#define STATS_COUNTER_LIST_1(SC)
#define HISTOGRAM_TIMER_LIST(HT)
#define HISTOGRAM_PERCENTAGE_LIST(HP)
#define HISTOGRAM_MEMORY_LIST(HM)
#define HISTOGRAM_RANGE_LIST(HR)
#define STATS_COUNTER_LIST_2(SC)
enable harmony numeric enable harmony object literal extensions Optimize object Array DOM strings and string trace pretenuring decisions of HAllocate instructions Enables optimizations which favor memory size over execution speed maximum source size in bytes considered for a single inlining maximum cumulative number of AST nodes considered for inlining trace the tracking of allocation sites deoptimize every n garbage collections perform array bounds checks elimination analyze liveness of environment slots and zap dead values flushes the cache of optimized code for closures on every GC allow uint32 values on optimize frames if they are used only in safe operations track concurrent recompilation artificial compilation delay in ms do not emit check maps for constant values that have a leaf deoptimize the optimized code if the layout of the maps changes enable context specialization in TurboFan execution budget before interrupt is triggered max percentage of megamorphic generic ICs to allow optimization enable use of SAHF instruction if enable use of VFP3 instructions if available enable use of NEON instructions if enable use of SDIV and UDIV instructions if enable use of MLS instructions if enable loading bit constant by means of movw movt instruction enable unaligned accesses for enable use of d16 d31 registers on ARM this requires VFP3 force all emitted branches to be in long enable alignment of csp to bytes on platforms which prefer the register to always be NULL
Debugger support for the V8 JavaScript engine.
#define INSTANCE_TYPE_LIST(V)
#define CODE_KIND_LIST(V)
#define FIXED_ARRAY_SUB_INSTANCE_TYPE_LIST(V)