OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef V8_COUNTERS_H_ | 5 #ifndef V8_COUNTERS_H_ |
6 #define V8_COUNTERS_H_ | 6 #define V8_COUNTERS_H_ |
7 | 7 |
8 #include "include/v8.h" | 8 #include "include/v8.h" |
9 #include "src/allocation.h" | 9 #include "src/allocation.h" |
10 #include "src/base/platform/elapsed-timer.h" | 10 #include "src/base/platform/elapsed-timer.h" |
(...skipping 471 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
482 SC(negative_lookups, V8.NegativeLookups) \ | 482 SC(negative_lookups, V8.NegativeLookups) \ |
483 SC(negative_lookups_miss, V8.NegativeLookupsMiss) \ | 483 SC(negative_lookups_miss, V8.NegativeLookupsMiss) \ |
484 SC(megamorphic_stub_cache_probes, V8.MegamorphicStubCacheProbes) \ | 484 SC(megamorphic_stub_cache_probes, V8.MegamorphicStubCacheProbes) \ |
485 SC(megamorphic_stub_cache_misses, V8.MegamorphicStubCacheMisses) \ | 485 SC(megamorphic_stub_cache_misses, V8.MegamorphicStubCacheMisses) \ |
486 SC(megamorphic_stub_cache_updates, V8.MegamorphicStubCacheUpdates) \ | 486 SC(megamorphic_stub_cache_updates, V8.MegamorphicStubCacheUpdates) \ |
487 SC(array_function_runtime, V8.ArrayFunctionRuntime) \ | 487 SC(array_function_runtime, V8.ArrayFunctionRuntime) \ |
488 SC(array_function_native, V8.ArrayFunctionNative) \ | 488 SC(array_function_native, V8.ArrayFunctionNative) \ |
489 SC(for_in, V8.ForIn) \ | 489 SC(for_in, V8.ForIn) \ |
490 SC(enum_cache_hits, V8.EnumCacheHits) \ | 490 SC(enum_cache_hits, V8.EnumCacheHits) \ |
491 SC(enum_cache_misses, V8.EnumCacheMisses) \ | 491 SC(enum_cache_misses, V8.EnumCacheMisses) \ |
492 SC(zone_segment_bytes, V8.ZoneSegmentBytes) \ | |
493 SC(fast_new_closure_total, V8.FastNewClosureTotal) \ | 492 SC(fast_new_closure_total, V8.FastNewClosureTotal) \ |
494 SC(fast_new_closure_try_optimized, V8.FastNewClosureTryOptimized) \ | 493 SC(fast_new_closure_try_optimized, V8.FastNewClosureTryOptimized) \ |
495 SC(fast_new_closure_install_optimized, V8.FastNewClosureInstallOptimized) \ | 494 SC(fast_new_closure_install_optimized, V8.FastNewClosureInstallOptimized) \ |
496 SC(string_add_runtime, V8.StringAddRuntime) \ | 495 SC(string_add_runtime, V8.StringAddRuntime) \ |
497 SC(string_add_native, V8.StringAddNative) \ | 496 SC(string_add_native, V8.StringAddNative) \ |
498 SC(string_add_runtime_ext_to_one_byte, V8.StringAddRuntimeExtToOneByte) \ | 497 SC(string_add_runtime_ext_to_one_byte, V8.StringAddRuntimeExtToOneByte) \ |
499 SC(sub_string_runtime, V8.SubStringRuntime) \ | 498 SC(sub_string_runtime, V8.SubStringRuntime) \ |
500 SC(sub_string_native, V8.SubStringNative) \ | 499 SC(sub_string_native, V8.SubStringNative) \ |
501 SC(string_add_make_two_char, V8.StringAddMakeTwoChar) \ | 500 SC(string_add_make_two_char, V8.StringAddMakeTwoChar) \ |
502 SC(string_compare_native, V8.StringCompareNative) \ | 501 SC(string_compare_native, V8.StringCompareNative) \ |
(...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
702 friend class Isolate; | 701 friend class Isolate; |
703 | 702 |
704 explicit Counters(Isolate* isolate); | 703 explicit Counters(Isolate* isolate); |
705 | 704 |
706 DISALLOW_IMPLICIT_CONSTRUCTORS(Counters); | 705 DISALLOW_IMPLICIT_CONSTRUCTORS(Counters); |
707 }; | 706 }; |
708 | 707 |
709 } } // namespace v8::internal | 708 } } // namespace v8::internal |
710 | 709 |
711 #endif // V8_COUNTERS_H_ | 710 #endif // V8_COUNTERS_H_ |
OLD | NEW |