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 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 /* How is the generic keyed-load stub used? */ \ | 123 /* How is the generic keyed-load stub used? */ \ |
124 SC(keyed_load_generic_smi, V8.KeyedLoadGenericSmi) \ | 124 SC(keyed_load_generic_smi, V8.KeyedLoadGenericSmi) \ |
125 SC(keyed_load_generic_symbol, V8.KeyedLoadGenericSymbol) \ | 125 SC(keyed_load_generic_symbol, V8.KeyedLoadGenericSymbol) \ |
| 126 SC(keyed_load_generic_lookup_cache, V8.KeyedLoadGenericLookupCache) \ |
126 SC(keyed_load_generic_slow, V8.KeyedLoadGenericSlow) \ | 127 SC(keyed_load_generic_slow, V8.KeyedLoadGenericSlow) \ |
127 SC(keyed_load_external_array_slow, V8.KeyedLoadExternalArraySlow) \ | 128 SC(keyed_load_external_array_slow, V8.KeyedLoadExternalArraySlow) \ |
128 /* Count how much the monomorphic keyed-load stubs are hit. */ \ | 129 /* Count how much the monomorphic keyed-load stubs are hit. */ \ |
129 SC(keyed_load_function_prototype, V8.KeyedLoadFunctionPrototype) \ | 130 SC(keyed_load_function_prototype, V8.KeyedLoadFunctionPrototype) \ |
130 SC(keyed_load_string_length, V8.KeyedLoadStringLength) \ | 131 SC(keyed_load_string_length, V8.KeyedLoadStringLength) \ |
131 SC(keyed_load_array_length, V8.KeyedLoadArrayLength) \ | 132 SC(keyed_load_array_length, V8.KeyedLoadArrayLength) \ |
132 SC(keyed_load_constant_function, V8.KeyedLoadConstantFunction) \ | 133 SC(keyed_load_constant_function, V8.KeyedLoadConstantFunction) \ |
133 SC(keyed_load_field, V8.KeyedLoadField) \ | 134 SC(keyed_load_field, V8.KeyedLoadField) \ |
134 SC(keyed_load_callback, V8.KeyedLoadCallback) \ | 135 SC(keyed_load_callback, V8.KeyedLoadCallback) \ |
135 SC(keyed_load_interceptor, V8.KeyedLoadInterceptor) \ | 136 SC(keyed_load_interceptor, V8.KeyedLoadInterceptor) \ |
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
221 stats_counter_count | 222 stats_counter_count |
222 }; | 223 }; |
223 | 224 |
224 // Sliding state window counters. | 225 // Sliding state window counters. |
225 static StatsCounter state_counters[]; | 226 static StatsCounter state_counters[]; |
226 }; | 227 }; |
227 | 228 |
228 } } // namespace v8::internal | 229 } } // namespace v8::internal |
229 | 230 |
230 #endif // V8_V8_COUNTERS_H_ | 231 #endif // V8_V8_COUNTERS_H_ |
OLD | NEW |