| 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 687 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|   698   /* Dummy counter for the unexpected stub miss. */ \ |   698   /* Dummy counter for the unexpected stub miss. */ \ | 
|   699   V(UnexpectedStubMiss) |   699   V(UnexpectedStubMiss) | 
|   700  |   700  | 
|   701 #define FOR_EACH_HANDLER_COUNTER(V)             \ |   701 #define FOR_EACH_HANDLER_COUNTER(V)             \ | 
|   702   V(IC_HandlerCacheHit)                         \ |   702   V(IC_HandlerCacheHit)                         \ | 
|   703   V(KeyedLoadIC_LoadIndexedStringStub)          \ |   703   V(KeyedLoadIC_LoadIndexedStringStub)          \ | 
|   704   V(KeyedLoadIC_LoadIndexedInterceptorStub)     \ |   704   V(KeyedLoadIC_LoadIndexedInterceptorStub)     \ | 
|   705   V(KeyedLoadIC_KeyedLoadSloppyArgumentsStub)   \ |   705   V(KeyedLoadIC_KeyedLoadSloppyArgumentsStub)   \ | 
|   706   V(KeyedLoadIC_LoadFastElementStub)            \ |   706   V(KeyedLoadIC_LoadFastElementStub)            \ | 
|   707   V(KeyedLoadIC_LoadDictionaryElementStub)      \ |   707   V(KeyedLoadIC_LoadDictionaryElementStub)      \ | 
|   708   V(KeyedLoadIC_PolymorphicElement)             \ |   708   V(KeyedLoadIC_SlowStub)                       \ | 
|   709   V(KeyedStoreIC_KeyedStoreSloppyArgumentsStub) \ |   709   V(KeyedStoreIC_KeyedStoreSloppyArgumentsStub) \ | 
|   710   V(KeyedStoreIC_StoreFastElementStub)          \ |   710   V(KeyedStoreIC_StoreFastElementStub)          \ | 
|   711   V(KeyedStoreIC_StoreElementStub)              \ |   711   V(KeyedStoreIC_StoreElementStub)              \ | 
|   712   V(KeyedStoreIC_Polymorphic)                   \ |   712   V(KeyedStoreIC_Polymorphic)                   \ | 
|   713   V(LoadIC_FunctionPrototypeStub)               \ |   713   V(LoadIC_FunctionPrototypeStub)               \ | 
|   714   V(LoadIC_LoadApiGetterStub)                   \ |   714   V(LoadIC_LoadApiGetterStub)                   \ | 
|   715   V(LoadIC_LoadCallback)                        \ |   715   V(LoadIC_LoadCallback)                        \ | 
|   716   V(LoadIC_LoadConstant)                        \ |   716   V(LoadIC_LoadConstant)                        \ | 
|   717   V(LoadIC_LoadConstantStub)                    \ |   717   V(LoadIC_LoadConstantStub)                    \ | 
|   718   V(LoadIC_LoadField)                           \ |   718   V(LoadIC_LoadField)                           \ | 
| (...skipping 515 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  1234  |  1234  | 
|  1235   explicit Counters(Isolate* isolate); |  1235   explicit Counters(Isolate* isolate); | 
|  1236  |  1236  | 
|  1237   DISALLOW_IMPLICIT_CONSTRUCTORS(Counters); |  1237   DISALLOW_IMPLICIT_CONSTRUCTORS(Counters); | 
|  1238 }; |  1238 }; | 
|  1239  |  1239  | 
|  1240 }  // namespace internal |  1240 }  // namespace internal | 
|  1241 }  // namespace v8 |  1241 }  // namespace v8 | 
|  1242  |  1242  | 
|  1243 #endif  // V8_COUNTERS_H_ |  1243 #endif  // V8_COUNTERS_H_ | 
| OLD | NEW |