OLD | NEW |
1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 the V8 project authors. All rights reserved. |
2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
4 // met: | 4 // met: |
5 // | 5 // |
6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
(...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
203 SC(megamorphic_stub_cache_updates, V8.MegamorphicStubCacheUpdates) \ | 203 SC(megamorphic_stub_cache_updates, V8.MegamorphicStubCacheUpdates) \ |
204 SC(array_function_runtime, V8.ArrayFunctionRuntime) \ | 204 SC(array_function_runtime, V8.ArrayFunctionRuntime) \ |
205 SC(array_function_native, V8.ArrayFunctionNative) \ | 205 SC(array_function_native, V8.ArrayFunctionNative) \ |
206 SC(for_in, V8.ForIn) \ | 206 SC(for_in, V8.ForIn) \ |
207 SC(enum_cache_hits, V8.EnumCacheHits) \ | 207 SC(enum_cache_hits, V8.EnumCacheHits) \ |
208 SC(enum_cache_misses, V8.EnumCacheMisses) \ | 208 SC(enum_cache_misses, V8.EnumCacheMisses) \ |
209 SC(zone_segment_bytes, V8.ZoneSegmentBytes) \ | 209 SC(zone_segment_bytes, V8.ZoneSegmentBytes) \ |
210 SC(compute_entry_frame, V8.ComputeEntryFrame) \ | 210 SC(compute_entry_frame, V8.ComputeEntryFrame) \ |
211 SC(generic_binary_stub_calls, V8.GenericBinaryStubCalls) \ | 211 SC(generic_binary_stub_calls, V8.GenericBinaryStubCalls) \ |
212 SC(generic_binary_stub_calls_regs, V8.GenericBinaryStubCallsRegs) \ | 212 SC(generic_binary_stub_calls_regs, V8.GenericBinaryStubCallsRegs) \ |
| 213 SC(fast_new_closure_total, V8.FastNewClosureTotal) \ |
| 214 SC(fast_new_closure_try_optimized, V8.FastNewClosureTryOptimized) \ |
| 215 SC(fast_new_closure_install_optimized, V8.FastNewClosureInstallOptimized) \ |
213 SC(string_add_runtime, V8.StringAddRuntime) \ | 216 SC(string_add_runtime, V8.StringAddRuntime) \ |
214 SC(string_add_native, V8.StringAddNative) \ | 217 SC(string_add_native, V8.StringAddNative) \ |
215 SC(string_add_runtime_ext_to_ascii, V8.StringAddRuntimeExtToAscii) \ | 218 SC(string_add_runtime_ext_to_ascii, V8.StringAddRuntimeExtToAscii) \ |
216 SC(sub_string_runtime, V8.SubStringRuntime) \ | 219 SC(sub_string_runtime, V8.SubStringRuntime) \ |
217 SC(sub_string_native, V8.SubStringNative) \ | 220 SC(sub_string_native, V8.SubStringNative) \ |
218 SC(string_add_make_two_char, V8.StringAddMakeTwoChar) \ | 221 SC(string_add_make_two_char, V8.StringAddMakeTwoChar) \ |
219 SC(string_compare_native, V8.StringCompareNative) \ | 222 SC(string_compare_native, V8.StringCompareNative) \ |
220 SC(string_compare_runtime, V8.StringCompareRuntime) \ | 223 SC(string_compare_runtime, V8.StringCompareRuntime) \ |
221 SC(regexp_entry_runtime, V8.RegExpEntryRuntime) \ | 224 SC(regexp_entry_runtime, V8.RegExpEntryRuntime) \ |
222 SC(regexp_entry_native, V8.RegExpEntryNative) \ | 225 SC(regexp_entry_native, V8.RegExpEntryNative) \ |
(...skipping 12 matching lines...) Expand all Loading... |
235 SC(math_round, V8.MathRound) \ | 238 SC(math_round, V8.MathRound) \ |
236 SC(math_sin, V8.MathSin) \ | 239 SC(math_sin, V8.MathSin) \ |
237 SC(math_sqrt, V8.MathSqrt) \ | 240 SC(math_sqrt, V8.MathSqrt) \ |
238 SC(math_tan, V8.MathTan) \ | 241 SC(math_tan, V8.MathTan) \ |
239 SC(array_bounds_checks_seen, V8.ArrayBoundsChecksSeen) \ | 242 SC(array_bounds_checks_seen, V8.ArrayBoundsChecksSeen) \ |
240 SC(array_bounds_checks_removed, V8.ArrayBoundsChecksRemoved) \ | 243 SC(array_bounds_checks_removed, V8.ArrayBoundsChecksRemoved) \ |
241 SC(transcendental_cache_hit, V8.TranscendentalCacheHit) \ | 244 SC(transcendental_cache_hit, V8.TranscendentalCacheHit) \ |
242 SC(transcendental_cache_miss, V8.TranscendentalCacheMiss) \ | 245 SC(transcendental_cache_miss, V8.TranscendentalCacheMiss) \ |
243 SC(stack_interrupts, V8.StackInterrupts) \ | 246 SC(stack_interrupts, V8.StackInterrupts) \ |
244 SC(runtime_profiler_ticks, V8.RuntimeProfilerTicks) \ | 247 SC(runtime_profiler_ticks, V8.RuntimeProfilerTicks) \ |
245 SC(other_ticks, V8.OtherTicks) \ | |
246 SC(js_opt_ticks, V8.JsOptTicks) \ | |
247 SC(js_non_opt_ticks, V8.JsNonoptTicks) \ | |
248 SC(js_other_ticks, V8.JsOtherTicks) \ | |
249 SC(smi_checks_removed, V8.SmiChecksRemoved) \ | 248 SC(smi_checks_removed, V8.SmiChecksRemoved) \ |
250 SC(map_checks_removed, V8.MapChecksRemoved) \ | 249 SC(map_checks_removed, V8.MapChecksRemoved) \ |
251 SC(quote_json_char_count, V8.QuoteJsonCharacterCount) \ | 250 SC(quote_json_char_count, V8.QuoteJsonCharacterCount) \ |
252 SC(quote_json_char_recount, V8.QuoteJsonCharacterReCount) | 251 SC(quote_json_char_recount, V8.QuoteJsonCharacterReCount) |
253 | 252 |
254 | 253 |
255 // This file contains all the v8 counters that are in use. | 254 // This file contains all the v8 counters that are in use. |
256 class Counters { | 255 class Counters { |
257 public: | 256 public: |
258 #define HT(name, caption) \ | 257 #define HT(name, caption) \ |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
306 // Sliding state window counters. | 305 // Sliding state window counters. |
307 StatsCounter state_counters_[kSlidingStateWindowCounterCount]; | 306 StatsCounter state_counters_[kSlidingStateWindowCounterCount]; |
308 friend class Isolate; | 307 friend class Isolate; |
309 | 308 |
310 DISALLOW_IMPLICIT_CONSTRUCTORS(Counters); | 309 DISALLOW_IMPLICIT_CONSTRUCTORS(Counters); |
311 }; | 310 }; |
312 | 311 |
313 } } // namespace v8::internal | 312 } } // namespace v8::internal |
314 | 313 |
315 #endif // V8_V8_COUNTERS_H_ | 314 #endif // V8_V8_COUNTERS_H_ |
OLD | NEW |