| OLD | NEW | 
|---|
| 1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 the V8 project authors. All rights reserved. | 
| 2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without | 
| 3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are | 
| 4 // met: | 4 // met: | 
| 5 // | 5 // | 
| 6 //     * Redistributions of source code must retain the above copyright | 6 //     * Redistributions of source code must retain the above copyright | 
| 7 //       notice, this list of conditions and the following disclaimer. | 7 //       notice, this list of conditions and the following disclaimer. | 
| 8 //     * Redistributions in binary form must reproduce the above | 8 //     * Redistributions in binary form must reproduce the above | 
| 9 //       copyright notice, this list of conditions and the following | 9 //       copyright notice, this list of conditions and the following | 
| 10 //       disclaimer in the documentation and/or other materials provided | 10 //       disclaimer in the documentation and/or other materials provided | 
| (...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 119   SC(total_compiled_code_size, V8.TotalCompiledCodeSize)              \ | 119   SC(total_compiled_code_size, V8.TotalCompiledCodeSize)              \ | 
| 120   SC(gc_compactor_caused_by_request, V8.GCCompactorCausedByRequest)   \ | 120   SC(gc_compactor_caused_by_request, V8.GCCompactorCausedByRequest)   \ | 
| 121   SC(gc_compactor_caused_by_promoted_data,                            \ | 121   SC(gc_compactor_caused_by_promoted_data,                            \ | 
| 122      V8.GCCompactorCausedByPromotedData)                              \ | 122      V8.GCCompactorCausedByPromotedData)                              \ | 
| 123   SC(gc_compactor_caused_by_oldspace_exhaustion,                      \ | 123   SC(gc_compactor_caused_by_oldspace_exhaustion,                      \ | 
| 124      V8.GCCompactorCausedByOldspaceExhaustion)                        \ | 124      V8.GCCompactorCausedByOldspaceExhaustion)                        \ | 
| 125   SC(gc_compactor_caused_by_weak_handles,                             \ | 125   SC(gc_compactor_caused_by_weak_handles,                             \ | 
| 126      V8.GCCompactorCausedByWeakHandles)                               \ | 126      V8.GCCompactorCausedByWeakHandles)                               \ | 
| 127   SC(gc_last_resort_from_js, V8.GCLastResortFromJS)                   \ | 127   SC(gc_last_resort_from_js, V8.GCLastResortFromJS)                   \ | 
| 128   SC(gc_last_resort_from_handles, V8.GCLastResortFromHandles)         \ | 128   SC(gc_last_resort_from_handles, V8.GCLastResortFromHandles)         \ | 
| 129   SC(map_slow_to_fast_elements, V8.MapSlowToFastElements)             \ | 129   SC(map_to_fast_elements, V8.MapToFastElements)                      \ | 
| 130   SC(map_fast_to_slow_elements, V8.MapFastToSlowElements)             \ | 130   SC(map_to_fast_double_elements, V8.MapToFastDoubleElements)         \ | 
|  | 131   SC(map_to_slow_elements, V8.MapToSlowElements)                      \ | 
| 131   SC(map_to_external_array_elements, V8.MapToExternalArrayElements)   \ | 132   SC(map_to_external_array_elements, V8.MapToExternalArrayElements)   \ | 
| 132   /* How is the generic keyed-load stub used? */                      \ | 133   /* How is the generic keyed-load stub used? */                      \ | 
| 133   SC(keyed_load_generic_smi, V8.KeyedLoadGenericSmi)                  \ | 134   SC(keyed_load_generic_smi, V8.KeyedLoadGenericSmi)                  \ | 
| 134   SC(keyed_load_generic_symbol, V8.KeyedLoadGenericSymbol)            \ | 135   SC(keyed_load_generic_symbol, V8.KeyedLoadGenericSymbol)            \ | 
| 135   SC(keyed_load_generic_lookup_cache, V8.KeyedLoadGenericLookupCache) \ | 136   SC(keyed_load_generic_lookup_cache, V8.KeyedLoadGenericLookupCache) \ | 
| 136   SC(keyed_load_generic_slow, V8.KeyedLoadGenericSlow)                \ | 137   SC(keyed_load_generic_slow, V8.KeyedLoadGenericSlow)                \ | 
| 137   SC(keyed_load_polymorphic_stubs, V8.KeyedLoadPolymorphicStubs)      \ | 138   SC(keyed_load_polymorphic_stubs, V8.KeyedLoadPolymorphicStubs)      \ | 
| 138   SC(keyed_load_external_array_slow, V8.KeyedLoadExternalArraySlow)   \ | 139   SC(keyed_load_external_array_slow, V8.KeyedLoadExternalArraySlow)   \ | 
| 139   /* How is the generic keyed-call stub used? */                      \ | 140   /* How is the generic keyed-call stub used? */                      \ | 
| 140   SC(keyed_call_generic_smi_fast, V8.KeyedCallGenericSmiFast)         \ | 141   SC(keyed_call_generic_smi_fast, V8.KeyedCallGenericSmiFast)         \ | 
| (...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 305   // Sliding state window counters. | 306   // Sliding state window counters. | 
| 306   StatsCounter state_counters_[kSlidingStateWindowCounterCount]; | 307   StatsCounter state_counters_[kSlidingStateWindowCounterCount]; | 
| 307   friend class Isolate; | 308   friend class Isolate; | 
| 308 | 309 | 
| 309   DISALLOW_IMPLICIT_CONSTRUCTORS(Counters); | 310   DISALLOW_IMPLICIT_CONSTRUCTORS(Counters); | 
| 310 }; | 311 }; | 
| 311 | 312 | 
| 312 } }  // namespace v8::internal | 313 } }  // namespace v8::internal | 
| 313 | 314 | 
| 314 #endif  // V8_V8_COUNTERS_H_ | 315 #endif  // V8_V8_COUNTERS_H_ | 
| OLD | NEW | 
|---|