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 743 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
754 SC(string_compare_runtime, V8.StringCompareRuntime) \ | 754 SC(string_compare_runtime, V8.StringCompareRuntime) \ |
755 SC(regexp_entry_runtime, V8.RegExpEntryRuntime) \ | 755 SC(regexp_entry_runtime, V8.RegExpEntryRuntime) \ |
756 SC(regexp_entry_native, V8.RegExpEntryNative) \ | 756 SC(regexp_entry_native, V8.RegExpEntryNative) \ |
757 SC(number_to_string_native, V8.NumberToStringNative) \ | 757 SC(number_to_string_native, V8.NumberToStringNative) \ |
758 SC(number_to_string_runtime, V8.NumberToStringRuntime) \ | 758 SC(number_to_string_runtime, V8.NumberToStringRuntime) \ |
759 SC(math_atan2_runtime, V8.MathAtan2Runtime) \ | 759 SC(math_atan2_runtime, V8.MathAtan2Runtime) \ |
760 SC(math_clz32_runtime, V8.MathClz32Runtime) \ | 760 SC(math_clz32_runtime, V8.MathClz32Runtime) \ |
761 SC(math_exp_runtime, V8.MathExpRuntime) \ | 761 SC(math_exp_runtime, V8.MathExpRuntime) \ |
762 SC(math_log_runtime, V8.MathLogRuntime) \ | 762 SC(math_log_runtime, V8.MathLogRuntime) \ |
763 SC(math_pow_runtime, V8.MathPowRuntime) \ | 763 SC(math_pow_runtime, V8.MathPowRuntime) \ |
764 SC(math_round_runtime, V8.MathRoundRuntime) \ | |
765 SC(math_sqrt_runtime, V8.MathSqrtRuntime) \ | |
766 SC(stack_interrupts, V8.StackInterrupts) \ | 764 SC(stack_interrupts, V8.StackInterrupts) \ |
767 SC(runtime_profiler_ticks, V8.RuntimeProfilerTicks) \ | 765 SC(runtime_profiler_ticks, V8.RuntimeProfilerTicks) \ |
768 SC(runtime_calls, V8.RuntimeCalls) \ | 766 SC(runtime_calls, V8.RuntimeCalls) \ |
769 SC(bounds_checks_eliminated, V8.BoundsChecksEliminated) \ | 767 SC(bounds_checks_eliminated, V8.BoundsChecksEliminated) \ |
770 SC(bounds_checks_hoisted, V8.BoundsChecksHoisted) \ | 768 SC(bounds_checks_hoisted, V8.BoundsChecksHoisted) \ |
771 SC(soft_deopts_requested, V8.SoftDeoptsRequested) \ | 769 SC(soft_deopts_requested, V8.SoftDeoptsRequested) \ |
772 SC(soft_deopts_inserted, V8.SoftDeoptsInserted) \ | 770 SC(soft_deopts_inserted, V8.SoftDeoptsInserted) \ |
773 SC(soft_deopts_executed, V8.SoftDeoptsExecuted) \ | 771 SC(soft_deopts_executed, V8.SoftDeoptsExecuted) \ |
774 /* Number of write barriers in generated code. */ \ | 772 /* Number of write barriers in generated code. */ \ |
775 SC(write_barriers_dynamic, V8.WriteBarriersDynamic) \ | 773 SC(write_barriers_dynamic, V8.WriteBarriersDynamic) \ |
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
976 | 974 |
977 explicit Counters(Isolate* isolate); | 975 explicit Counters(Isolate* isolate); |
978 | 976 |
979 DISALLOW_IMPLICIT_CONSTRUCTORS(Counters); | 977 DISALLOW_IMPLICIT_CONSTRUCTORS(Counters); |
980 }; | 978 }; |
981 | 979 |
982 } // namespace internal | 980 } // namespace internal |
983 } // namespace v8 | 981 } // namespace v8 |
984 | 982 |
985 #endif // V8_COUNTERS_H_ | 983 #endif // V8_COUNTERS_H_ |
OLD | NEW |