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

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

Issue 10103035: Share optimized code for closures. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 8 years, 6 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
« no previous file with comments | « src/runtime-profiler.cc ('k') | src/x64/code-stubs-x64.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 192 matching lines...) Expand 10 before | Expand all | Expand 10 after
203 SC(megamorphic_stub_cache_updates, V8.MegamorphicStubCacheUpdates) \ 203 SC(megamorphic_stub_cache_updates, V8.MegamorphicStubCacheUpdates) \
204 SC(array_function_runtime, V8.ArrayFunctionRuntime) \ 204 SC(array_function_runtime, V8.ArrayFunctionRuntime) \
205 SC(array_function_native, V8.ArrayFunctionNative) \ 205 SC(array_function_native, V8.ArrayFunctionNative) \
206 SC(for_in, V8.ForIn) \ 206 SC(for_in, V8.ForIn) \
207 SC(enum_cache_hits, V8.EnumCacheHits) \ 207 SC(enum_cache_hits, V8.EnumCacheHits) \
208 SC(enum_cache_misses, V8.EnumCacheMisses) \ 208 SC(enum_cache_misses, V8.EnumCacheMisses) \
209 SC(zone_segment_bytes, V8.ZoneSegmentBytes) \ 209 SC(zone_segment_bytes, V8.ZoneSegmentBytes) \
210 SC(compute_entry_frame, V8.ComputeEntryFrame) \ 210 SC(compute_entry_frame, V8.ComputeEntryFrame) \
211 SC(generic_binary_stub_calls, V8.GenericBinaryStubCalls) \ 211 SC(generic_binary_stub_calls, V8.GenericBinaryStubCalls) \
212 SC(generic_binary_stub_calls_regs, V8.GenericBinaryStubCallsRegs) \ 212 SC(generic_binary_stub_calls_regs, V8.GenericBinaryStubCallsRegs) \
213 SC(fast_new_closure_total, V8.FastNewClosureTotal) \
214 SC(fast_new_closure_try_optimized, V8.FastNewClosureTryOptimized) \
215 SC(fast_new_closure_install_optimized, V8.FastNewClosureInstallOptimized) \
213 SC(string_add_runtime, V8.StringAddRuntime) \ 216 SC(string_add_runtime, V8.StringAddRuntime) \
214 SC(string_add_native, V8.StringAddNative) \ 217 SC(string_add_native, V8.StringAddNative) \
215 SC(string_add_runtime_ext_to_ascii, V8.StringAddRuntimeExtToAscii) \ 218 SC(string_add_runtime_ext_to_ascii, V8.StringAddRuntimeExtToAscii) \
216 SC(sub_string_runtime, V8.SubStringRuntime) \ 219 SC(sub_string_runtime, V8.SubStringRuntime) \
217 SC(sub_string_native, V8.SubStringNative) \ 220 SC(sub_string_native, V8.SubStringNative) \
218 SC(string_add_make_two_char, V8.StringAddMakeTwoChar) \ 221 SC(string_add_make_two_char, V8.StringAddMakeTwoChar) \
219 SC(string_compare_native, V8.StringCompareNative) \ 222 SC(string_compare_native, V8.StringCompareNative) \
220 SC(string_compare_runtime, V8.StringCompareRuntime) \ 223 SC(string_compare_runtime, V8.StringCompareRuntime) \
221 SC(regexp_entry_runtime, V8.RegExpEntryRuntime) \ 224 SC(regexp_entry_runtime, V8.RegExpEntryRuntime) \
222 SC(regexp_entry_native, V8.RegExpEntryNative) \ 225 SC(regexp_entry_native, V8.RegExpEntryNative) \
(...skipping 10 matching lines...) Expand all
233 SC(math_log, V8.MathLog) \ 236 SC(math_log, V8.MathLog) \
234 SC(math_pow, V8.MathPow) \ 237 SC(math_pow, V8.MathPow) \
235 SC(math_round, V8.MathRound) \ 238 SC(math_round, V8.MathRound) \
236 SC(math_sin, V8.MathSin) \ 239 SC(math_sin, V8.MathSin) \
237 SC(math_sqrt, V8.MathSqrt) \ 240 SC(math_sqrt, V8.MathSqrt) \
238 SC(math_tan, V8.MathTan) \ 241 SC(math_tan, V8.MathTan) \
239 SC(transcendental_cache_hit, V8.TranscendentalCacheHit) \ 242 SC(transcendental_cache_hit, V8.TranscendentalCacheHit) \
240 SC(transcendental_cache_miss, V8.TranscendentalCacheMiss) \ 243 SC(transcendental_cache_miss, V8.TranscendentalCacheMiss) \
241 SC(stack_interrupts, V8.StackInterrupts) \ 244 SC(stack_interrupts, V8.StackInterrupts) \
242 SC(runtime_profiler_ticks, V8.RuntimeProfilerTicks) \ 245 SC(runtime_profiler_ticks, V8.RuntimeProfilerTicks) \
243 SC(other_ticks, V8.OtherTicks) \
244 SC(js_opt_ticks, V8.JsOptTicks) \
245 SC(js_non_opt_ticks, V8.JsNonoptTicks) \
246 SC(js_other_ticks, V8.JsOtherTicks) \
247 SC(smi_checks_removed, V8.SmiChecksRemoved) \ 246 SC(smi_checks_removed, V8.SmiChecksRemoved) \
248 SC(map_checks_removed, V8.MapChecksRemoved) \ 247 SC(map_checks_removed, V8.MapChecksRemoved) \
249 SC(quote_json_char_count, V8.QuoteJsonCharacterCount) \ 248 SC(quote_json_char_count, V8.QuoteJsonCharacterCount) \
250 SC(quote_json_char_recount, V8.QuoteJsonCharacterReCount) 249 SC(quote_json_char_recount, V8.QuoteJsonCharacterReCount)
251 250
252 251
253 // This file contains all the v8 counters that are in use. 252 // This file contains all the v8 counters that are in use.
254 class Counters { 253 class Counters {
255 public: 254 public:
256 #define HT(name, caption) \ 255 #define HT(name, caption) \
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
304 // Sliding state window counters. 303 // Sliding state window counters.
305 StatsCounter state_counters_[kSlidingStateWindowCounterCount]; 304 StatsCounter state_counters_[kSlidingStateWindowCounterCount];
306 friend class Isolate; 305 friend class Isolate;
307 306
308 DISALLOW_IMPLICIT_CONSTRUCTORS(Counters); 307 DISALLOW_IMPLICIT_CONSTRUCTORS(Counters);
309 }; 308 };
310 309
311 } } // namespace v8::internal 310 } } // namespace v8::internal
312 311
313 #endif // V8_V8_COUNTERS_H_ 312 #endif // V8_V8_COUNTERS_H_
OLDNEW
« no previous file with comments | « src/runtime-profiler.cc ('k') | src/x64/code-stubs-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698