| OLD | NEW |
| 1 // Copyright 2007-2008 the V8 project authors. All rights reserved. | 1 // Copyright 2007-2008 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 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 113 SC(total_compiled_code_size, V8.TotalCompiledCodeSize) \ | 113 SC(total_compiled_code_size, V8.TotalCompiledCodeSize) \ |
| 114 SC(gc_compactor_caused_by_request, V8.GCCompactorCausedByRequest) \ | 114 SC(gc_compactor_caused_by_request, V8.GCCompactorCausedByRequest) \ |
| 115 SC(gc_compactor_caused_by_promoted_data, \ | 115 SC(gc_compactor_caused_by_promoted_data, \ |
| 116 V8.GCCompactorCausedByPromotedData) \ | 116 V8.GCCompactorCausedByPromotedData) \ |
| 117 SC(gc_compactor_caused_by_oldspace_exhaustion, \ | 117 SC(gc_compactor_caused_by_oldspace_exhaustion, \ |
| 118 V8.GCCompactorCausedByOldspaceExhaustion) \ | 118 V8.GCCompactorCausedByOldspaceExhaustion) \ |
| 119 SC(gc_compactor_caused_by_weak_handles, \ | 119 SC(gc_compactor_caused_by_weak_handles, \ |
| 120 V8.GCCompactorCausedByWeakHandles) \ | 120 V8.GCCompactorCausedByWeakHandles) \ |
| 121 SC(gc_last_resort_from_js, V8.GCLastResortFromJS) \ | 121 SC(gc_last_resort_from_js, V8.GCLastResortFromJS) \ |
| 122 SC(gc_last_resort_from_handles, V8.GCLastResortFromHandles) \ | 122 SC(gc_last_resort_from_handles, V8.GCLastResortFromHandles) \ |
| 123 SC(map_slow_to_fast_elements, V8.MapSlowToFastElements) \ |
| 124 SC(map_fast_to_slow_elements, V8.MapFastToSlowElements) \ |
| 123 /* How is the generic keyed-load stub used? */ \ | 125 /* How is the generic keyed-load stub used? */ \ |
| 124 SC(keyed_load_generic_smi, V8.KeyedLoadGenericSmi) \ | 126 SC(keyed_load_generic_smi, V8.KeyedLoadGenericSmi) \ |
| 125 SC(keyed_load_generic_symbol, V8.KeyedLoadGenericSymbol) \ | 127 SC(keyed_load_generic_symbol, V8.KeyedLoadGenericSymbol) \ |
| 126 SC(keyed_load_generic_lookup_cache, V8.KeyedLoadGenericLookupCache) \ | 128 SC(keyed_load_generic_lookup_cache, V8.KeyedLoadGenericLookupCache) \ |
| 127 SC(keyed_load_generic_slow, V8.KeyedLoadGenericSlow) \ | 129 SC(keyed_load_generic_slow, V8.KeyedLoadGenericSlow) \ |
| 128 SC(keyed_load_external_array_slow, V8.KeyedLoadExternalArraySlow) \ | 130 SC(keyed_load_external_array_slow, V8.KeyedLoadExternalArraySlow) \ |
| 129 /* How is the generic keyed-call stub used? */ \ | 131 /* How is the generic keyed-call stub used? */ \ |
| 130 SC(keyed_call_generic_smi_fast, V8.KeyedCallGenericSmiFast) \ | 132 SC(keyed_call_generic_smi_fast, V8.KeyedCallGenericSmiFast) \ |
| 131 SC(keyed_call_generic_smi_dict, V8.KeyedCallGenericSmiDict) \ | 133 SC(keyed_call_generic_smi_dict, V8.KeyedCallGenericSmiDict) \ |
| 132 SC(keyed_call_generic_lookup_cache, V8.KeyedCallGenericLookupCache) \ | 134 SC(keyed_call_generic_lookup_cache, V8.KeyedCallGenericLookupCache) \ |
| (...skipping 15 matching lines...) Expand all Loading... |
| 148 SC(named_load_inline_miss, V8.NamedLoadInlineMiss) \ | 150 SC(named_load_inline_miss, V8.NamedLoadInlineMiss) \ |
| 149 SC(named_load_global_inline, V8.NamedLoadGlobalInline) \ | 151 SC(named_load_global_inline, V8.NamedLoadGlobalInline) \ |
| 150 SC(named_load_global_inline_miss, V8.NamedLoadGlobalInlineMiss) \ | 152 SC(named_load_global_inline_miss, V8.NamedLoadGlobalInlineMiss) \ |
| 151 SC(keyed_store_field, V8.KeyedStoreField) \ | 153 SC(keyed_store_field, V8.KeyedStoreField) \ |
| 152 SC(keyed_store_inline, V8.KeyedStoreInline) \ | 154 SC(keyed_store_inline, V8.KeyedStoreInline) \ |
| 153 SC(keyed_store_inline_miss, V8.KeyedStoreInlineMiss) \ | 155 SC(keyed_store_inline_miss, V8.KeyedStoreInlineMiss) \ |
| 154 SC(named_store_global_inline, V8.NamedStoreGlobalInline) \ | 156 SC(named_store_global_inline, V8.NamedStoreGlobalInline) \ |
| 155 SC(named_store_global_inline_miss, V8.NamedStoreGlobalInlineMiss) \ | 157 SC(named_store_global_inline_miss, V8.NamedStoreGlobalInlineMiss) \ |
| 156 SC(store_normal_miss, V8.StoreNormalMiss) \ | 158 SC(store_normal_miss, V8.StoreNormalMiss) \ |
| 157 SC(store_normal_hit, V8.StoreNormalHit) \ | 159 SC(store_normal_hit, V8.StoreNormalHit) \ |
| 160 SC(cow_arrays_created_stub, V8.COWArraysCreatedStub) \ |
| 161 SC(cow_arrays_created_runtime, V8.COWArraysCreatedRuntime) \ |
| 162 SC(cow_arrays_converted, V8.COWArraysConverted) \ |
| 158 SC(call_miss, V8.CallMiss) \ | 163 SC(call_miss, V8.CallMiss) \ |
| 159 SC(keyed_call_miss, V8.KeyedCallMiss) \ | 164 SC(keyed_call_miss, V8.KeyedCallMiss) \ |
| 160 SC(load_miss, V8.LoadMiss) \ | 165 SC(load_miss, V8.LoadMiss) \ |
| 161 SC(keyed_load_miss, V8.KeyedLoadMiss) \ | 166 SC(keyed_load_miss, V8.KeyedLoadMiss) \ |
| 162 SC(call_const, V8.CallConst) \ | 167 SC(call_const, V8.CallConst) \ |
| 163 SC(call_const_fast_api, V8.CallConstFastApi) \ | 168 SC(call_const_fast_api, V8.CallConstFastApi) \ |
| 164 SC(call_const_interceptor, V8.CallConstInterceptor) \ | 169 SC(call_const_interceptor, V8.CallConstInterceptor) \ |
| 165 SC(call_const_interceptor_fast_api, V8.CallConstInterceptorFastApi) \ | 170 SC(call_const_interceptor_fast_api, V8.CallConstInterceptorFastApi) \ |
| 166 SC(call_global_inline, V8.CallGlobalInline) \ | 171 SC(call_global_inline, V8.CallGlobalInline) \ |
| 167 SC(call_global_inline_miss, V8.CallGlobalInlineMiss) \ | 172 SC(call_global_inline_miss, V8.CallGlobalInlineMiss) \ |
| (...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 241 stats_counter_count | 246 stats_counter_count |
| 242 }; | 247 }; |
| 243 | 248 |
| 244 // Sliding state window counters. | 249 // Sliding state window counters. |
| 245 static StatsCounter state_counters[]; | 250 static StatsCounter state_counters[]; |
| 246 }; | 251 }; |
| 247 | 252 |
| 248 } } // namespace v8::internal | 253 } } // namespace v8::internal |
| 249 | 254 |
| 250 #endif // V8_V8_COUNTERS_H_ | 255 #endif // V8_V8_COUNTERS_H_ |
| OLD | NEW |