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 742 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
753 SC(constructed_objects, V8.ConstructedObjects) \ | 753 SC(constructed_objects, V8.ConstructedObjects) \ |
754 SC(constructed_objects_runtime, V8.ConstructedObjectsRuntime) \ | 754 SC(constructed_objects_runtime, V8.ConstructedObjectsRuntime) \ |
755 SC(negative_lookups, V8.NegativeLookups) \ | 755 SC(negative_lookups, V8.NegativeLookups) \ |
756 SC(negative_lookups_miss, V8.NegativeLookupsMiss) \ | 756 SC(negative_lookups_miss, V8.NegativeLookupsMiss) \ |
757 SC(megamorphic_stub_cache_probes, V8.MegamorphicStubCacheProbes) \ | 757 SC(megamorphic_stub_cache_probes, V8.MegamorphicStubCacheProbes) \ |
758 SC(megamorphic_stub_cache_misses, V8.MegamorphicStubCacheMisses) \ | 758 SC(megamorphic_stub_cache_misses, V8.MegamorphicStubCacheMisses) \ |
759 SC(megamorphic_stub_cache_updates, V8.MegamorphicStubCacheUpdates) \ | 759 SC(megamorphic_stub_cache_updates, V8.MegamorphicStubCacheUpdates) \ |
760 SC(enum_cache_hits, V8.EnumCacheHits) \ | 760 SC(enum_cache_hits, V8.EnumCacheHits) \ |
761 SC(enum_cache_misses, V8.EnumCacheMisses) \ | 761 SC(enum_cache_misses, V8.EnumCacheMisses) \ |
762 SC(fast_new_closure_total, V8.FastNewClosureTotal) \ | 762 SC(fast_new_closure_total, V8.FastNewClosureTotal) \ |
763 SC(fast_new_closure_try_optimized, V8.FastNewClosureTryOptimized) \ | |
764 SC(fast_new_closure_install_optimized, V8.FastNewClosureInstallOptimized) \ | |
765 SC(string_add_runtime, V8.StringAddRuntime) \ | 763 SC(string_add_runtime, V8.StringAddRuntime) \ |
766 SC(string_add_native, V8.StringAddNative) \ | 764 SC(string_add_native, V8.StringAddNative) \ |
767 SC(string_add_runtime_ext_to_one_byte, V8.StringAddRuntimeExtToOneByte) \ | 765 SC(string_add_runtime_ext_to_one_byte, V8.StringAddRuntimeExtToOneByte) \ |
768 SC(sub_string_runtime, V8.SubStringRuntime) \ | 766 SC(sub_string_runtime, V8.SubStringRuntime) \ |
769 SC(sub_string_native, V8.SubStringNative) \ | 767 SC(sub_string_native, V8.SubStringNative) \ |
770 SC(string_compare_native, V8.StringCompareNative) \ | 768 SC(string_compare_native, V8.StringCompareNative) \ |
771 SC(string_compare_runtime, V8.StringCompareRuntime) \ | 769 SC(string_compare_runtime, V8.StringCompareRuntime) \ |
772 SC(regexp_entry_runtime, V8.RegExpEntryRuntime) \ | 770 SC(regexp_entry_runtime, V8.RegExpEntryRuntime) \ |
773 SC(regexp_entry_native, V8.RegExpEntryNative) \ | 771 SC(regexp_entry_native, V8.RegExpEntryNative) \ |
774 SC(number_to_string_native, V8.NumberToStringNative) \ | 772 SC(number_to_string_native, V8.NumberToStringNative) \ |
775 SC(number_to_string_runtime, V8.NumberToStringRuntime) \ | 773 SC(number_to_string_runtime, V8.NumberToStringRuntime) \ |
776 SC(math_atan2_runtime, V8.MathAtan2Runtime) \ | 774 SC(math_atan2_runtime, V8.MathAtan2Runtime) \ |
777 SC(math_clz32_runtime, V8.MathClz32Runtime) \ | |
778 SC(math_exp_runtime, V8.MathExpRuntime) \ | 775 SC(math_exp_runtime, V8.MathExpRuntime) \ |
779 SC(math_log_runtime, V8.MathLogRuntime) \ | 776 SC(math_log_runtime, V8.MathLogRuntime) \ |
780 SC(math_pow_runtime, V8.MathPowRuntime) \ | 777 SC(math_pow_runtime, V8.MathPowRuntime) \ |
781 SC(stack_interrupts, V8.StackInterrupts) \ | 778 SC(stack_interrupts, V8.StackInterrupts) \ |
782 SC(runtime_profiler_ticks, V8.RuntimeProfilerTicks) \ | 779 SC(runtime_profiler_ticks, V8.RuntimeProfilerTicks) \ |
783 SC(runtime_calls, V8.RuntimeCalls) \ | 780 SC(runtime_calls, V8.RuntimeCalls) \ |
784 SC(bounds_checks_eliminated, V8.BoundsChecksEliminated) \ | 781 SC(bounds_checks_eliminated, V8.BoundsChecksEliminated) \ |
785 SC(bounds_checks_hoisted, V8.BoundsChecksHoisted) \ | 782 SC(bounds_checks_hoisted, V8.BoundsChecksHoisted) \ |
786 SC(soft_deopts_requested, V8.SoftDeoptsRequested) \ | 783 SC(soft_deopts_requested, V8.SoftDeoptsRequested) \ |
787 SC(soft_deopts_inserted, V8.SoftDeoptsInserted) \ | 784 SC(soft_deopts_inserted, V8.SoftDeoptsInserted) \ |
(...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
991 | 988 |
992 explicit Counters(Isolate* isolate); | 989 explicit Counters(Isolate* isolate); |
993 | 990 |
994 DISALLOW_IMPLICIT_CONSTRUCTORS(Counters); | 991 DISALLOW_IMPLICIT_CONSTRUCTORS(Counters); |
995 }; | 992 }; |
996 | 993 |
997 } // namespace internal | 994 } // namespace internal |
998 } // namespace v8 | 995 } // namespace v8 |
999 | 996 |
1000 #endif // V8_COUNTERS_H_ | 997 #endif // V8_COUNTERS_H_ |
OLD | NEW |