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

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

Issue 6529055: [Isolates] Merge crankshaft (r5922 from bleeding_edge). (Closed)
Patch Set: Win32 port Created 9 years, 10 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
« no previous file with comments | « src/v8.cc ('k') | src/v8globals.h » ('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 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 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
152 SC(keyed_load_inline_miss, V8.KeyedLoadInlineMiss) \ 152 SC(keyed_load_inline_miss, V8.KeyedLoadInlineMiss) \
153 SC(named_load_inline, V8.NamedLoadInline) \ 153 SC(named_load_inline, V8.NamedLoadInline) \
154 SC(named_load_inline_miss, V8.NamedLoadInlineMiss) \ 154 SC(named_load_inline_miss, V8.NamedLoadInlineMiss) \
155 SC(named_load_global_inline, V8.NamedLoadGlobalInline) \ 155 SC(named_load_global_inline, V8.NamedLoadGlobalInline) \
156 SC(named_load_global_inline_miss, V8.NamedLoadGlobalInlineMiss) \ 156 SC(named_load_global_inline_miss, V8.NamedLoadGlobalInlineMiss) \
157 SC(dont_delete_hint_hit, V8.DontDeleteHintHit) \ 157 SC(dont_delete_hint_hit, V8.DontDeleteHintHit) \
158 SC(dont_delete_hint_miss, V8.DontDeleteHintMiss) \ 158 SC(dont_delete_hint_miss, V8.DontDeleteHintMiss) \
159 SC(named_load_global_stub, V8.NamedLoadGlobalStub) \ 159 SC(named_load_global_stub, V8.NamedLoadGlobalStub) \
160 SC(named_load_global_stub_miss, V8.NamedLoadGlobalStubMiss) \ 160 SC(named_load_global_stub_miss, V8.NamedLoadGlobalStubMiss) \
161 SC(keyed_store_field, V8.KeyedStoreField) \ 161 SC(keyed_store_field, V8.KeyedStoreField) \
162 SC(named_store_inline_field, V8.NamedStoreInlineField) \
162 SC(keyed_store_inline, V8.KeyedStoreInline) \ 163 SC(keyed_store_inline, V8.KeyedStoreInline) \
164 SC(named_load_inline_generic, V8.NamedLoadInlineGeneric) \
165 SC(named_load_inline_field, V8.NamedLoadInlineFast) \
166 SC(keyed_load_inline_generic, V8.KeyedLoadInlineGeneric) \
167 SC(keyed_load_inline_fast, V8.KeyedLoadInlineFast) \
168 SC(named_load_full, V8.NamedLoadFull) \
169 SC(keyed_load_full, V8.KeyedLoadFull) \
170 SC(keyed_store_inline_generic, V8.KeyedStoreInlineGeneric) \
171 SC(keyed_store_inline_fast, V8.KeyedStoreInlineFast) \
172 SC(named_store_inline_generic, V8.NamedStoreInlineGeneric) \
173 SC(named_store_inline_fast, V8.NamedStoreInlineFast) \
174 SC(keyed_store_full, V8.KeyedStoreFull) \
175 SC(named_store_full, V8.NamedStoreFull) \
163 SC(keyed_store_inline_miss, V8.KeyedStoreInlineMiss) \ 176 SC(keyed_store_inline_miss, V8.KeyedStoreInlineMiss) \
164 SC(named_store_global_inline, V8.NamedStoreGlobalInline) \ 177 SC(named_store_global_inline, V8.NamedStoreGlobalInline) \
165 SC(named_store_global_inline_miss, V8.NamedStoreGlobalInlineMiss) \ 178 SC(named_store_global_inline_miss, V8.NamedStoreGlobalInlineMiss) \
166 SC(store_normal_miss, V8.StoreNormalMiss) \ 179 SC(store_normal_miss, V8.StoreNormalMiss) \
167 SC(store_normal_hit, V8.StoreNormalHit) \ 180 SC(store_normal_hit, V8.StoreNormalHit) \
168 SC(cow_arrays_created_stub, V8.COWArraysCreatedStub) \ 181 SC(cow_arrays_created_stub, V8.COWArraysCreatedStub) \
169 SC(cow_arrays_created_runtime, V8.COWArraysCreatedRuntime) \ 182 SC(cow_arrays_created_runtime, V8.COWArraysCreatedRuntime) \
170 SC(cow_arrays_converted, V8.COWArraysConverted) \ 183 SC(cow_arrays_converted, V8.COWArraysConverted) \
171 SC(call_miss, V8.CallMiss) \ 184 SC(call_miss, V8.CallMiss) \
172 SC(keyed_call_miss, V8.KeyedCallMiss) \ 185 SC(keyed_call_miss, V8.KeyedCallMiss) \
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
218 SC(math_exp, V8.MathExp) \ 231 SC(math_exp, V8.MathExp) \
219 SC(math_floor, V8.MathFloor) \ 232 SC(math_floor, V8.MathFloor) \
220 SC(math_log, V8.MathLog) \ 233 SC(math_log, V8.MathLog) \
221 SC(math_pow, V8.MathPow) \ 234 SC(math_pow, V8.MathPow) \
222 SC(math_round, V8.MathRound) \ 235 SC(math_round, V8.MathRound) \
223 SC(math_sin, V8.MathSin) \ 236 SC(math_sin, V8.MathSin) \
224 SC(math_sqrt, V8.MathSqrt) \ 237 SC(math_sqrt, V8.MathSqrt) \
225 SC(math_tan, V8.MathTan) \ 238 SC(math_tan, V8.MathTan) \
226 SC(transcendental_cache_hit, V8.TranscendentalCacheHit) \ 239 SC(transcendental_cache_hit, V8.TranscendentalCacheHit) \
227 SC(transcendental_cache_miss, V8.TranscendentalCacheMiss) \ 240 SC(transcendental_cache_miss, V8.TranscendentalCacheMiss) \
241 SC(stack_interrupts, V8.StackInterrupts) \
242 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) \
248 SC(map_checks_removed, V8.MapChecksRemoved) \
228 SC(quote_json_char_count, V8.QuoteJsonCharacterCount) \ 249 SC(quote_json_char_count, V8.QuoteJsonCharacterCount) \
229 SC(quote_json_char_recount, V8.QuoteJsonCharacterReCount) \ 250 SC(quote_json_char_recount, V8.QuoteJsonCharacterReCount)
230 251
231 252
232 // This file contains all the v8 counters that are in use. 253 // This file contains all the v8 counters that are in use.
233 class Counters { 254 class Counters {
234 public: 255 public:
235 #define HT(name, caption) \ 256 #define HT(name, caption) \
236 HistogramTimer* name() { return &name##_; } 257 HistogramTimer* name() { return &name##_; }
237 HISTOGRAM_TIMER_LIST(HT) 258 HISTOGRAM_TIMER_LIST(HT)
238 #undef HT 259 #undef HT
239 260
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
285 friend class Isolate; 306 friend class Isolate;
286 307
287 DISALLOW_IMPLICIT_CONSTRUCTORS(Counters); 308 DISALLOW_IMPLICIT_CONSTRUCTORS(Counters);
288 }; 309 };
289 310
290 #define COUNTERS Isolate::Current()->counters() 311 #define COUNTERS Isolate::Current()->counters()
291 312
292 } } // namespace v8::internal 313 } } // namespace v8::internal
293 314
294 #endif // V8_V8_COUNTERS_H_ 315 #endif // V8_V8_COUNTERS_H_
OLDNEW
« no previous file with comments | « src/v8.cc ('k') | src/v8globals.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698