| 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_to_fast_elements, V8.MapToFastElements) \ | |
| 130 SC(map_to_fast_double_elements, V8.MapToFastDoubleElements) \ | |
| 131 SC(map_to_slow_elements, V8.MapToSlowElements) \ | |
| 132 SC(map_to_external_array_elements, V8.MapToExternalArrayElements) \ | |
| 133 /* How is the generic keyed-load stub used? */ \ | 129 /* How is the generic keyed-load stub used? */ \ |
| 134 SC(keyed_load_generic_smi, V8.KeyedLoadGenericSmi) \ | 130 SC(keyed_load_generic_smi, V8.KeyedLoadGenericSmi) \ |
| 135 SC(keyed_load_generic_symbol, V8.KeyedLoadGenericSymbol) \ | 131 SC(keyed_load_generic_symbol, V8.KeyedLoadGenericSymbol) \ |
| 136 SC(keyed_load_generic_lookup_cache, V8.KeyedLoadGenericLookupCache) \ | 132 SC(keyed_load_generic_lookup_cache, V8.KeyedLoadGenericLookupCache) \ |
| 137 SC(keyed_load_generic_slow, V8.KeyedLoadGenericSlow) \ | 133 SC(keyed_load_generic_slow, V8.KeyedLoadGenericSlow) \ |
| 138 SC(keyed_load_polymorphic_stubs, V8.KeyedLoadPolymorphicStubs) \ | 134 SC(keyed_load_polymorphic_stubs, V8.KeyedLoadPolymorphicStubs) \ |
| 139 SC(keyed_load_external_array_slow, V8.KeyedLoadExternalArraySlow) \ | 135 SC(keyed_load_external_array_slow, V8.KeyedLoadExternalArraySlow) \ |
| 140 /* How is the generic keyed-call stub used? */ \ | 136 /* How is the generic keyed-call stub used? */ \ |
| 141 SC(keyed_call_generic_smi_fast, V8.KeyedCallGenericSmiFast) \ | 137 SC(keyed_call_generic_smi_fast, V8.KeyedCallGenericSmiFast) \ |
| 142 SC(keyed_call_generic_smi_dict, V8.KeyedCallGenericSmiDict) \ | 138 SC(keyed_call_generic_smi_dict, V8.KeyedCallGenericSmiDict) \ |
| (...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 302 // Sliding state window counters. | 298 // Sliding state window counters. |
| 303 StatsCounter state_counters_[kSlidingStateWindowCounterCount]; | 299 StatsCounter state_counters_[kSlidingStateWindowCounterCount]; |
| 304 friend class Isolate; | 300 friend class Isolate; |
| 305 | 301 |
| 306 DISALLOW_IMPLICIT_CONSTRUCTORS(Counters); | 302 DISALLOW_IMPLICIT_CONSTRUCTORS(Counters); |
| 307 }; | 303 }; |
| 308 | 304 |
| 309 } } // namespace v8::internal | 305 } } // namespace v8::internal |
| 310 | 306 |
| 311 #endif // V8_V8_COUNTERS_H_ | 307 #endif // V8_V8_COUNTERS_H_ |
| OLD | NEW |