Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(65)

Side by Side Diff: src/v8-counters.h

Issue 9496010: Fix secondary stub cache and add a test for the stub cache lookups. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 8 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 180 matching lines...) Expand 10 before | Expand all | Expand 10 after
191 SC(call_const_fast_api, V8.CallConstFastApi) \ 191 SC(call_const_fast_api, V8.CallConstFastApi) \
192 SC(call_const_interceptor, V8.CallConstInterceptor) \ 192 SC(call_const_interceptor, V8.CallConstInterceptor) \
193 SC(call_const_interceptor_fast_api, V8.CallConstInterceptorFastApi) \ 193 SC(call_const_interceptor_fast_api, V8.CallConstInterceptorFastApi) \
194 SC(call_global_inline, V8.CallGlobalInline) \ 194 SC(call_global_inline, V8.CallGlobalInline) \
195 SC(call_global_inline_miss, V8.CallGlobalInlineMiss) \ 195 SC(call_global_inline_miss, V8.CallGlobalInlineMiss) \
196 SC(constructed_objects, V8.ConstructedObjects) \ 196 SC(constructed_objects, V8.ConstructedObjects) \
197 SC(constructed_objects_runtime, V8.ConstructedObjectsRuntime) \ 197 SC(constructed_objects_runtime, V8.ConstructedObjectsRuntime) \
198 SC(constructed_objects_stub, V8.ConstructedObjectsStub) \ 198 SC(constructed_objects_stub, V8.ConstructedObjectsStub) \
199 SC(negative_lookups, V8.NegativeLookups) \ 199 SC(negative_lookups, V8.NegativeLookups) \
200 SC(negative_lookups_miss, V8.NegativeLookupsMiss) \ 200 SC(negative_lookups_miss, V8.NegativeLookupsMiss) \
201 SC(megamorphic_stub_cache_probes, V8.MegamorphicStubCacheProbes) \
202 SC(megamorphic_stub_cache_misses, V8.MegamorphicStubCacheMisses) \
203 SC(megamorphic_stub_cache_updates, V8.MegamorphicStubCacheUpdates) \
201 SC(array_function_runtime, V8.ArrayFunctionRuntime) \ 204 SC(array_function_runtime, V8.ArrayFunctionRuntime) \
202 SC(array_function_native, V8.ArrayFunctionNative) \ 205 SC(array_function_native, V8.ArrayFunctionNative) \
203 SC(for_in, V8.ForIn) \ 206 SC(for_in, V8.ForIn) \
204 SC(enum_cache_hits, V8.EnumCacheHits) \ 207 SC(enum_cache_hits, V8.EnumCacheHits) \
205 SC(enum_cache_misses, V8.EnumCacheMisses) \ 208 SC(enum_cache_misses, V8.EnumCacheMisses) \
206 SC(zone_segment_bytes, V8.ZoneSegmentBytes) \ 209 SC(zone_segment_bytes, V8.ZoneSegmentBytes) \
207 SC(compute_entry_frame, V8.ComputeEntryFrame) \ 210 SC(compute_entry_frame, V8.ComputeEntryFrame) \
208 SC(generic_binary_stub_calls, V8.GenericBinaryStubCalls) \ 211 SC(generic_binary_stub_calls, V8.GenericBinaryStubCalls) \
209 SC(generic_binary_stub_calls_regs, V8.GenericBinaryStubCallsRegs) \ 212 SC(generic_binary_stub_calls_regs, V8.GenericBinaryStubCallsRegs) \
210 SC(string_add_runtime, V8.StringAddRuntime) \ 213 SC(string_add_runtime, V8.StringAddRuntime) \
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
301 // Sliding state window counters. 304 // Sliding state window counters.
302 StatsCounter state_counters_[kSlidingStateWindowCounterCount]; 305 StatsCounter state_counters_[kSlidingStateWindowCounterCount];
303 friend class Isolate; 306 friend class Isolate;
304 307
305 DISALLOW_IMPLICIT_CONSTRUCTORS(Counters); 308 DISALLOW_IMPLICIT_CONSTRUCTORS(Counters);
306 }; 309 };
307 310
308 } } // namespace v8::internal 311 } } // namespace v8::internal
309 312
310 #endif // V8_V8_COUNTERS_H_ 313 #endif // V8_V8_COUNTERS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698