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 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
111 SC(gc_compactor_caused_by_oldspace_exhaustion, \ | 111 SC(gc_compactor_caused_by_oldspace_exhaustion, \ |
112 V8.GCCompactorCausedByOldspaceExhaustion) \ | 112 V8.GCCompactorCausedByOldspaceExhaustion) \ |
113 SC(gc_compactor_caused_by_weak_handles, \ | 113 SC(gc_compactor_caused_by_weak_handles, \ |
114 V8.GCCompactorCausedByWeakHandles) \ | 114 V8.GCCompactorCausedByWeakHandles) \ |
115 SC(gc_last_resort_from_js, V8.GCLastResortFromJS) \ | 115 SC(gc_last_resort_from_js, V8.GCLastResortFromJS) \ |
116 SC(gc_last_resort_from_handles, V8.GCLastResortFromHandles) \ | 116 SC(gc_last_resort_from_handles, V8.GCLastResortFromHandles) \ |
117 /* How is the generic keyed-load stub used? */ \ | 117 /* How is the generic keyed-load stub used? */ \ |
118 SC(keyed_load_generic_smi, V8.KeyedLoadGenericSmi) \ | 118 SC(keyed_load_generic_smi, V8.KeyedLoadGenericSmi) \ |
119 SC(keyed_load_generic_symbol, V8.KeyedLoadGenericSymbol) \ | 119 SC(keyed_load_generic_symbol, V8.KeyedLoadGenericSymbol) \ |
120 SC(keyed_load_generic_slow, V8.KeyedLoadGenericSlow) \ | 120 SC(keyed_load_generic_slow, V8.KeyedLoadGenericSlow) \ |
| 121 SC(keyed_load_external_array_slow, V8.KeyedLoadExternalArraySlow) \ |
121 /* Count how much the monomorphic keyed-load stubs are hit. */ \ | 122 /* Count how much the monomorphic keyed-load stubs are hit. */ \ |
122 SC(keyed_load_function_prototype, V8.KeyedLoadFunctionPrototype) \ | 123 SC(keyed_load_function_prototype, V8.KeyedLoadFunctionPrototype) \ |
123 SC(keyed_load_string_length, V8.KeyedLoadStringLength) \ | 124 SC(keyed_load_string_length, V8.KeyedLoadStringLength) \ |
124 SC(keyed_load_array_length, V8.KeyedLoadArrayLength) \ | 125 SC(keyed_load_array_length, V8.KeyedLoadArrayLength) \ |
125 SC(keyed_load_constant_function, V8.KeyedLoadConstantFunction) \ | 126 SC(keyed_load_constant_function, V8.KeyedLoadConstantFunction) \ |
126 SC(keyed_load_field, V8.KeyedLoadField) \ | 127 SC(keyed_load_field, V8.KeyedLoadField) \ |
127 SC(keyed_load_callback, V8.KeyedLoadCallback) \ | 128 SC(keyed_load_callback, V8.KeyedLoadCallback) \ |
128 SC(keyed_load_interceptor, V8.KeyedLoadInterceptor) \ | 129 SC(keyed_load_interceptor, V8.KeyedLoadInterceptor) \ |
129 SC(keyed_load_inline, V8.KeyedLoadInline) \ | 130 SC(keyed_load_inline, V8.KeyedLoadInline) \ |
130 SC(keyed_load_inline_miss, V8.KeyedLoadInlineMiss) \ | 131 SC(keyed_load_inline_miss, V8.KeyedLoadInlineMiss) \ |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
183 stats_counter_count | 184 stats_counter_count |
184 }; | 185 }; |
185 | 186 |
186 // Sliding state window counters. | 187 // Sliding state window counters. |
187 static StatsCounter state_counters[]; | 188 static StatsCounter state_counters[]; |
188 }; | 189 }; |
189 | 190 |
190 } } // namespace v8::internal | 191 } } // namespace v8::internal |
191 | 192 |
192 #endif // V8_V8_COUNTERS_H_ | 193 #endif // V8_V8_COUNTERS_H_ |
OLD | NEW |