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 229 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
240 SC(transcendental_cache_miss, V8.TranscendentalCacheMiss) \ | 240 SC(transcendental_cache_miss, V8.TranscendentalCacheMiss) \ |
241 SC(stack_interrupts, V8.StackInterrupts) \ | 241 SC(stack_interrupts, V8.StackInterrupts) \ |
242 SC(runtime_profiler_ticks, V8.RuntimeProfilerTicks) \ | 242 SC(runtime_profiler_ticks, V8.RuntimeProfilerTicks) \ |
243 SC(other_ticks, V8.OtherTicks) \ | 243 SC(other_ticks, V8.OtherTicks) \ |
244 SC(js_opt_ticks, V8.JsOptTicks) \ | 244 SC(js_opt_ticks, V8.JsOptTicks) \ |
245 SC(js_non_opt_ticks, V8.JsNonoptTicks) \ | 245 SC(js_non_opt_ticks, V8.JsNonoptTicks) \ |
246 SC(js_other_ticks, V8.JsOtherTicks) \ | 246 SC(js_other_ticks, V8.JsOtherTicks) \ |
247 SC(smi_checks_removed, V8.SmiChecksRemoved) \ | 247 SC(smi_checks_removed, V8.SmiChecksRemoved) \ |
248 SC(map_checks_removed, V8.MapChecksRemoved) \ | 248 SC(map_checks_removed, V8.MapChecksRemoved) \ |
249 SC(quote_json_char_count, V8.QuoteJsonCharacterCount) \ | 249 SC(quote_json_char_count, V8.QuoteJsonCharacterCount) \ |
250 SC(quote_json_char_recount, V8.QuoteJsonCharacterReCount) | 250 SC(quote_json_char_recount, V8.QuoteJsonCharacterReCount) \ |
251 SC(instance_of, V8.InstanceOf) \ | |
Mads Ager (chromium)
2010/12/16 08:44:43
Should we get rid of some of these counters before
Søren Thygesen Gjesse
2010/12/16 08:58:28
I would like to keep them for a couple of days whi
| |
252 SC(instance_of_cache, V8.InstanceOfCache) \ | |
253 SC(instance_of_stub_true, V8.InstanceOfStubTrue) \ | |
254 SC(instance_of_stub_false, V8.InstanceOfStubFalse) \ | |
255 SC(instance_of_stub_false_null, V8.InstanceOfStubFalseNull) \ | |
256 SC(instance_of_stub_false_string, V8.InstanceOfStubFalseString) \ | |
257 SC(instance_of_full, V8.InstanceOfFull) \ | |
258 SC(instance_of_slow, V8.InstanceOfSlow) | |
251 | 259 |
252 | 260 |
253 // This file contains all the v8 counters that are in use. | 261 // This file contains all the v8 counters that are in use. |
254 class Counters : AllStatic { | 262 class Counters : AllStatic { |
255 public: | 263 public: |
256 #define HT(name, caption) \ | 264 #define HT(name, caption) \ |
257 static HistogramTimer name; | 265 static HistogramTimer name; |
258 HISTOGRAM_TIMER_LIST(HT) | 266 HISTOGRAM_TIMER_LIST(HT) |
259 #undef HT | 267 #undef HT |
260 | 268 |
(...skipping 17 matching lines...) Expand all Loading... | |
278 stats_counter_count | 286 stats_counter_count |
279 }; | 287 }; |
280 | 288 |
281 // Sliding state window counters. | 289 // Sliding state window counters. |
282 static StatsCounter state_counters[]; | 290 static StatsCounter state_counters[]; |
283 }; | 291 }; |
284 | 292 |
285 } } // namespace v8::internal | 293 } } // namespace v8::internal |
286 | 294 |
287 #endif // V8_V8_COUNTERS_H_ | 295 #endif // V8_V8_COUNTERS_H_ |
OLD | NEW |