OLD | NEW |
1 // Copyright 2010 the V8 project authors. All rights reserved. | 1 // Copyright 2010 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 189 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
200 SC(negative_lookups, V8.NegativeLookups) \ | 200 SC(negative_lookups, V8.NegativeLookups) \ |
201 SC(negative_lookups_miss, V8.NegativeLookupsMiss) \ | 201 SC(negative_lookups_miss, V8.NegativeLookupsMiss) \ |
202 SC(array_function_runtime, V8.ArrayFunctionRuntime) \ | 202 SC(array_function_runtime, V8.ArrayFunctionRuntime) \ |
203 SC(array_function_native, V8.ArrayFunctionNative) \ | 203 SC(array_function_native, V8.ArrayFunctionNative) \ |
204 SC(for_in, V8.ForIn) \ | 204 SC(for_in, V8.ForIn) \ |
205 SC(memcopy_aligned, V8.MemCopyAligned) \ | 205 SC(memcopy_aligned, V8.MemCopyAligned) \ |
206 SC(memcopy_unaligned, V8.MemCopyUnaligned) \ | 206 SC(memcopy_unaligned, V8.MemCopyUnaligned) \ |
207 SC(memcopy_noxmm, V8.MemCopyNoXMM) \ | 207 SC(memcopy_noxmm, V8.MemCopyNoXMM) \ |
208 SC(enum_cache_hits, V8.EnumCacheHits) \ | 208 SC(enum_cache_hits, V8.EnumCacheHits) \ |
209 SC(enum_cache_misses, V8.EnumCacheMisses) \ | 209 SC(enum_cache_misses, V8.EnumCacheMisses) \ |
210 SC(reloc_info_count, V8.RelocInfoCount) \ | |
211 SC(reloc_info_size, V8.RelocInfoSize) \ | |
212 SC(zone_segment_bytes, V8.ZoneSegmentBytes) \ | 210 SC(zone_segment_bytes, V8.ZoneSegmentBytes) \ |
213 SC(compute_entry_frame, V8.ComputeEntryFrame) \ | 211 SC(compute_entry_frame, V8.ComputeEntryFrame) \ |
214 SC(generic_binary_stub_calls, V8.GenericBinaryStubCalls) \ | 212 SC(generic_binary_stub_calls, V8.GenericBinaryStubCalls) \ |
215 SC(generic_binary_stub_calls_regs, V8.GenericBinaryStubCallsRegs) \ | 213 SC(generic_binary_stub_calls_regs, V8.GenericBinaryStubCallsRegs) \ |
216 SC(string_add_runtime, V8.StringAddRuntime) \ | 214 SC(string_add_runtime, V8.StringAddRuntime) \ |
217 SC(string_add_native, V8.StringAddNative) \ | 215 SC(string_add_native, V8.StringAddNative) \ |
218 SC(string_add_runtime_ext_to_ascii, V8.StringAddRuntimeExtToAscii) \ | 216 SC(string_add_runtime_ext_to_ascii, V8.StringAddRuntimeExtToAscii) \ |
219 SC(sub_string_runtime, V8.SubStringRuntime) \ | 217 SC(sub_string_runtime, V8.SubStringRuntime) \ |
220 SC(sub_string_native, V8.SubStringNative) \ | 218 SC(sub_string_native, V8.SubStringNative) \ |
221 SC(string_add_make_two_char, V8.StringAddMakeTwoChar) \ | 219 SC(string_add_make_two_char, V8.StringAddMakeTwoChar) \ |
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
304 kSlidingStateWindowCounterCount | 302 kSlidingStateWindowCounterCount |
305 }; | 303 }; |
306 | 304 |
307 // Sliding state window counters. | 305 // Sliding state window counters. |
308 StatsCounter state_counters_[kSlidingStateWindowCounterCount]; | 306 StatsCounter state_counters_[kSlidingStateWindowCounterCount]; |
309 friend class Isolate; | 307 friend class Isolate; |
310 | 308 |
311 DISALLOW_IMPLICIT_CONSTRUCTORS(Counters); | 309 DISALLOW_IMPLICIT_CONSTRUCTORS(Counters); |
312 }; | 310 }; |
313 | 311 |
314 #define COUNTERS Isolate::Current()->counters() | |
315 | |
316 } } // namespace v8::internal | 312 } } // namespace v8::internal |
317 | 313 |
318 #endif // V8_V8_COUNTERS_H_ | 314 #endif // V8_V8_COUNTERS_H_ |
OLD | NEW |