| 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/atomic-utils.h" | 10 #include "src/base/atomic-utils.h" |
| (...skipping 733 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 744 V(TestCounter3) \ | 744 V(TestCounter3) \ |
| 745 /* Dummy counter for the unexpected stub miss. */ \ | 745 /* Dummy counter for the unexpected stub miss. */ \ |
| 746 V(UnexpectedStubMiss) | 746 V(UnexpectedStubMiss) |
| 747 | 747 |
| 748 #define FOR_EACH_HANDLER_COUNTER(V) \ | 748 #define FOR_EACH_HANDLER_COUNTER(V) \ |
| 749 V(IC_HandlerCacheHit) \ | 749 V(IC_HandlerCacheHit) \ |
| 750 V(KeyedLoadIC_LoadIndexedStringStub) \ | 750 V(KeyedLoadIC_LoadIndexedStringStub) \ |
| 751 V(KeyedLoadIC_LoadIndexedInterceptorStub) \ | 751 V(KeyedLoadIC_LoadIndexedInterceptorStub) \ |
| 752 V(KeyedLoadIC_KeyedLoadSloppyArgumentsStub) \ | 752 V(KeyedLoadIC_KeyedLoadSloppyArgumentsStub) \ |
| 753 V(KeyedLoadIC_LoadElementDH) \ | 753 V(KeyedLoadIC_LoadElementDH) \ |
| 754 V(KeyedLoadIC_LoadFastElementStub) \ | |
| 755 V(KeyedLoadIC_LoadDictionaryElementStub) \ | |
| 756 V(KeyedLoadIC_SlowStub) \ | 754 V(KeyedLoadIC_SlowStub) \ |
| 757 V(KeyedStoreIC_ElementsTransitionAndStoreStub) \ | 755 V(KeyedStoreIC_ElementsTransitionAndStoreStub) \ |
| 758 V(KeyedStoreIC_KeyedStoreSloppyArgumentsStub) \ | 756 V(KeyedStoreIC_KeyedStoreSloppyArgumentsStub) \ |
| 759 V(KeyedStoreIC_SlowStub) \ | 757 V(KeyedStoreIC_SlowStub) \ |
| 760 V(KeyedStoreIC_StoreFastElementStub) \ | 758 V(KeyedStoreIC_StoreFastElementStub) \ |
| 761 V(KeyedStoreIC_StoreElementStub) \ | 759 V(KeyedStoreIC_StoreElementStub) \ |
| 762 V(LoadIC_FunctionPrototypeStub) \ | 760 V(LoadIC_FunctionPrototypeStub) \ |
| 763 V(LoadIC_HandlerCacheHit_AccessCheck) \ | 761 V(LoadIC_HandlerCacheHit_AccessCheck) \ |
| 764 V(LoadIC_HandlerCacheHit_Exotic) \ | 762 V(LoadIC_HandlerCacheHit_Exotic) \ |
| 765 V(LoadIC_HandlerCacheHit_Interceptor) \ | 763 V(LoadIC_HandlerCacheHit_Interceptor) \ |
| 766 V(LoadIC_HandlerCacheHit_JSProxy) \ | 764 V(LoadIC_HandlerCacheHit_JSProxy) \ |
| 767 V(LoadIC_HandlerCacheHit_NonExistent) \ | 765 V(LoadIC_HandlerCacheHit_NonExistent) \ |
| 768 V(LoadIC_HandlerCacheHit_Accessor) \ | 766 V(LoadIC_HandlerCacheHit_Accessor) \ |
| 769 V(LoadIC_HandlerCacheHit_Data) \ | 767 V(LoadIC_HandlerCacheHit_Data) \ |
| 770 V(LoadIC_HandlerCacheHit_Transition) \ | 768 V(LoadIC_HandlerCacheHit_Transition) \ |
| 771 V(LoadIC_LoadApiGetterDH) \ | 769 V(LoadIC_LoadApiGetterDH) \ |
| 772 V(LoadIC_LoadApiGetterFromPrototypeDH) \ | 770 V(LoadIC_LoadApiGetterFromPrototypeDH) \ |
| 773 V(LoadIC_LoadApiGetterStub) \ | 771 V(LoadIC_LoadApiGetterStub) \ |
| 774 V(LoadIC_LoadCallback) \ | 772 V(LoadIC_LoadCallback) \ |
| 775 V(LoadIC_LoadConstantDH) \ | 773 V(LoadIC_LoadConstantDH) \ |
| 776 V(LoadIC_LoadConstantFromPrototypeDH) \ | 774 V(LoadIC_LoadConstantFromPrototypeDH) \ |
| 777 V(LoadIC_LoadConstant) \ | 775 V(LoadIC_LoadConstant) \ |
| 778 V(LoadIC_LoadConstantStub) \ | 776 V(LoadIC_LoadConstantStub) \ |
| 779 V(LoadIC_LoadFieldDH) \ | 777 V(LoadIC_LoadFieldDH) \ |
| 780 V(LoadIC_LoadFieldFromPrototypeDH) \ | 778 V(LoadIC_LoadFieldFromPrototypeDH) \ |
| 781 V(LoadIC_LoadField) \ | 779 V(LoadIC_LoadField) \ |
| 782 V(LoadIC_LoadFieldStub) \ | |
| 783 V(LoadIC_LoadGlobal) \ | 780 V(LoadIC_LoadGlobal) \ |
| 784 V(LoadIC_LoadInterceptor) \ | 781 V(LoadIC_LoadInterceptor) \ |
| 785 V(LoadIC_LoadNonexistentDH) \ | 782 V(LoadIC_LoadNonexistentDH) \ |
| 786 V(LoadIC_LoadNonexistent) \ | 783 V(LoadIC_LoadNonexistent) \ |
| 787 V(LoadIC_LoadNormal) \ | 784 V(LoadIC_LoadNormal) \ |
| 788 V(LoadIC_LoadScriptContextFieldStub) \ | 785 V(LoadIC_LoadScriptContextFieldStub) \ |
| 789 V(LoadIC_LoadViaGetter) \ | 786 V(LoadIC_LoadViaGetter) \ |
| 790 V(LoadIC_NonReceiver) \ | 787 V(LoadIC_NonReceiver) \ |
| 791 V(LoadIC_Premonomorphic) \ | 788 V(LoadIC_Premonomorphic) \ |
| 792 V(LoadIC_SlowStub) \ | 789 V(LoadIC_SlowStub) \ |
| (...skipping 538 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1331 | 1328 |
| 1332 explicit Counters(Isolate* isolate); | 1329 explicit Counters(Isolate* isolate); |
| 1333 | 1330 |
| 1334 DISALLOW_IMPLICIT_CONSTRUCTORS(Counters); | 1331 DISALLOW_IMPLICIT_CONSTRUCTORS(Counters); |
| 1335 }; | 1332 }; |
| 1336 | 1333 |
| 1337 } // namespace internal | 1334 } // namespace internal |
| 1338 } // namespace v8 | 1335 } // namespace v8 |
| 1339 | 1336 |
| 1340 #endif // V8_COUNTERS_H_ | 1337 #endif // V8_COUNTERS_H_ |
| OLD | NEW |