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 653 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
664 V(UnboundScript_GetSourceMappingURL) \ | 664 V(UnboundScript_GetSourceMappingURL) \ |
665 V(UnboundScript_GetSourceURL) \ | 665 V(UnboundScript_GetSourceURL) \ |
666 V(Value_TypeOf) \ | 666 V(Value_TypeOf) \ |
667 V(ValueDeserializer_ReadHeader) \ | 667 V(ValueDeserializer_ReadHeader) \ |
668 V(ValueDeserializer_ReadValue) \ | 668 V(ValueDeserializer_ReadValue) \ |
669 V(ValueSerializer_WriteValue) | 669 V(ValueSerializer_WriteValue) |
670 | 670 |
671 #define FOR_EACH_MANUAL_COUNTER(V) \ | 671 #define FOR_EACH_MANUAL_COUNTER(V) \ |
672 V(AccessorGetterCallback) \ | 672 V(AccessorGetterCallback) \ |
673 V(AccessorNameGetterCallback) \ | 673 V(AccessorNameGetterCallback) \ |
| 674 V(AccessorNameGetterCallback_ArrayLength) \ |
| 675 V(AccessorNameGetterCallback_BoundFunctionLength) \ |
| 676 V(AccessorNameGetterCallback_BoundFunctionName) \ |
| 677 V(AccessorNameGetterCallback_FunctionPrototype) \ |
| 678 V(AccessorNameGetterCallback_StringLength) \ |
674 V(AccessorNameSetterCallback) \ | 679 V(AccessorNameSetterCallback) \ |
675 V(Compile) \ | 680 V(Compile) \ |
676 V(CompileCode) \ | 681 V(CompileCode) \ |
677 V(CompileCodeLazy) \ | 682 V(CompileCodeLazy) \ |
678 V(CompileDeserialize) \ | 683 V(CompileDeserialize) \ |
679 V(CompileEval) \ | 684 V(CompileEval) \ |
680 V(CompileFullCode) \ | 685 V(CompileFullCode) \ |
681 V(CompileIgnition) \ | 686 V(CompileIgnition) \ |
682 V(CompilerDispatcher) \ | 687 V(CompilerDispatcher) \ |
683 V(CompileSerialize) \ | 688 V(CompileSerialize) \ |
(...skipping 589 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1273 } | 1278 } |
1274 | 1279 |
1275 Isolate* isolate_ = nullptr; | 1280 Isolate* isolate_ = nullptr; |
1276 RuntimeCallTimer timer_; | 1281 RuntimeCallTimer timer_; |
1277 }; | 1282 }; |
1278 | 1283 |
1279 } // namespace internal | 1284 } // namespace internal |
1280 } // namespace v8 | 1285 } // namespace v8 |
1281 | 1286 |
1282 #endif // V8_COUNTERS_H_ | 1287 #endif // V8_COUNTERS_H_ |
OLD | NEW |