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 640 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
651 SC(call_global_inline_miss, V8.CallGlobalInlineMiss) \ | 651 SC(call_global_inline_miss, V8.CallGlobalInlineMiss) \ |
652 SC(constructed_objects, V8.ConstructedObjects) \ | 652 SC(constructed_objects, V8.ConstructedObjects) \ |
653 SC(constructed_objects_runtime, V8.ConstructedObjectsRuntime) \ | 653 SC(constructed_objects_runtime, V8.ConstructedObjectsRuntime) \ |
654 SC(negative_lookups, V8.NegativeLookups) \ | 654 SC(negative_lookups, V8.NegativeLookups) \ |
655 SC(negative_lookups_miss, V8.NegativeLookupsMiss) \ | 655 SC(negative_lookups_miss, V8.NegativeLookupsMiss) \ |
656 SC(megamorphic_stub_cache_probes, V8.MegamorphicStubCacheProbes) \ | 656 SC(megamorphic_stub_cache_probes, V8.MegamorphicStubCacheProbes) \ |
657 SC(megamorphic_stub_cache_misses, V8.MegamorphicStubCacheMisses) \ | 657 SC(megamorphic_stub_cache_misses, V8.MegamorphicStubCacheMisses) \ |
658 SC(megamorphic_stub_cache_updates, V8.MegamorphicStubCacheUpdates) \ | 658 SC(megamorphic_stub_cache_updates, V8.MegamorphicStubCacheUpdates) \ |
659 SC(array_function_runtime, V8.ArrayFunctionRuntime) \ | 659 SC(array_function_runtime, V8.ArrayFunctionRuntime) \ |
660 SC(array_function_native, V8.ArrayFunctionNative) \ | 660 SC(array_function_native, V8.ArrayFunctionNative) \ |
661 SC(for_in, V8.ForIn) \ | |
662 SC(enum_cache_hits, V8.EnumCacheHits) \ | 661 SC(enum_cache_hits, V8.EnumCacheHits) \ |
663 SC(enum_cache_misses, V8.EnumCacheMisses) \ | 662 SC(enum_cache_misses, V8.EnumCacheMisses) \ |
664 SC(fast_new_closure_total, V8.FastNewClosureTotal) \ | 663 SC(fast_new_closure_total, V8.FastNewClosureTotal) \ |
665 SC(fast_new_closure_try_optimized, V8.FastNewClosureTryOptimized) \ | 664 SC(fast_new_closure_try_optimized, V8.FastNewClosureTryOptimized) \ |
666 SC(fast_new_closure_install_optimized, V8.FastNewClosureInstallOptimized) \ | 665 SC(fast_new_closure_install_optimized, V8.FastNewClosureInstallOptimized) \ |
667 SC(string_add_runtime, V8.StringAddRuntime) \ | 666 SC(string_add_runtime, V8.StringAddRuntime) \ |
668 SC(string_add_native, V8.StringAddNative) \ | 667 SC(string_add_native, V8.StringAddNative) \ |
669 SC(string_add_runtime_ext_to_one_byte, V8.StringAddRuntimeExtToOneByte) \ | 668 SC(string_add_runtime_ext_to_one_byte, V8.StringAddRuntimeExtToOneByte) \ |
670 SC(sub_string_runtime, V8.SubStringRuntime) \ | 669 SC(sub_string_runtime, V8.SubStringRuntime) \ |
671 SC(sub_string_native, V8.SubStringNative) \ | 670 SC(sub_string_native, V8.SubStringNative) \ |
(...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
888 friend class Isolate; | 887 friend class Isolate; |
889 | 888 |
890 explicit Counters(Isolate* isolate); | 889 explicit Counters(Isolate* isolate); |
891 | 890 |
892 DISALLOW_IMPLICIT_CONSTRUCTORS(Counters); | 891 DISALLOW_IMPLICIT_CONSTRUCTORS(Counters); |
893 }; | 892 }; |
894 | 893 |
895 } } // namespace v8::internal | 894 } } // namespace v8::internal |
896 | 895 |
897 #endif // V8_COUNTERS_H_ | 896 #endif // V8_COUNTERS_H_ |
OLD | NEW |