| 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 231 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 242 SC(transcendental_cache_miss, V8.TranscendentalCacheMiss) \ | 242 SC(transcendental_cache_miss, V8.TranscendentalCacheMiss) \ |
| 243 SC(stack_interrupts, V8.StackInterrupts) \ | 243 SC(stack_interrupts, V8.StackInterrupts) \ |
| 244 SC(runtime_profiler_ticks, V8.RuntimeProfilerTicks) \ | 244 SC(runtime_profiler_ticks, V8.RuntimeProfilerTicks) \ |
| 245 SC(other_ticks, V8.OtherTicks) \ | 245 SC(other_ticks, V8.OtherTicks) \ |
| 246 SC(js_opt_ticks, V8.JsOptTicks) \ | 246 SC(js_opt_ticks, V8.JsOptTicks) \ |
| 247 SC(js_non_opt_ticks, V8.JsNonoptTicks) \ | 247 SC(js_non_opt_ticks, V8.JsNonoptTicks) \ |
| 248 SC(js_other_ticks, V8.JsOtherTicks) \ | 248 SC(js_other_ticks, V8.JsOtherTicks) \ |
| 249 SC(smi_checks_removed, V8.SmiChecksRemoved) \ | 249 SC(smi_checks_removed, V8.SmiChecksRemoved) \ |
| 250 SC(map_checks_removed, V8.MapChecksRemoved) \ | 250 SC(map_checks_removed, V8.MapChecksRemoved) \ |
| 251 SC(quote_json_char_count, V8.QuoteJsonCharacterCount) \ | 251 SC(quote_json_char_count, V8.QuoteJsonCharacterCount) \ |
| 252 SC(quote_json_char_recount, V8.QuoteJsonCharacterReCount) \ | 252 SC(quote_json_char_recount, V8.QuoteJsonCharacterReCount) |
| 253 SC(instance_of, V8.InstanceOf) \ | |
| 254 SC(instance_of_cache, V8.InstanceOfCache) \ | |
| 255 SC(instance_of_stub_true, V8.InstanceOfStubTrue) \ | |
| 256 SC(instance_of_stub_false, V8.InstanceOfStubFalse) \ | |
| 257 SC(instance_of_stub_false_null, V8.InstanceOfStubFalseNull) \ | |
| 258 SC(instance_of_stub_false_string, V8.InstanceOfStubFalseString) \ | |
| 259 SC(instance_of_full, V8.InstanceOfFull) \ | |
| 260 SC(instance_of_slow, V8.InstanceOfSlow) | |
| 261 | 253 |
| 262 | 254 |
| 263 // This file contains all the v8 counters that are in use. | 255 // This file contains all the v8 counters that are in use. |
| 264 class Counters : AllStatic { | 256 class Counters : AllStatic { |
| 265 public: | 257 public: |
| 266 #define HT(name, caption) \ | 258 #define HT(name, caption) \ |
| 267 static HistogramTimer name; | 259 static HistogramTimer name; |
| 268 HISTOGRAM_TIMER_LIST(HT) | 260 HISTOGRAM_TIMER_LIST(HT) |
| 269 #undef HT | 261 #undef HT |
| 270 | 262 |
| (...skipping 17 matching lines...) Expand all Loading... |
| 288 stats_counter_count | 280 stats_counter_count |
| 289 }; | 281 }; |
| 290 | 282 |
| 291 // Sliding state window counters. | 283 // Sliding state window counters. |
| 292 static StatsCounter state_counters[]; | 284 static StatsCounter state_counters[]; |
| 293 }; | 285 }; |
| 294 | 286 |
| 295 } } // namespace v8::internal | 287 } } // namespace v8::internal |
| 296 | 288 |
| 297 #endif // V8_V8_COUNTERS_H_ | 289 #endif // V8_V8_COUNTERS_H_ |
| OLD | NEW |