| 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 206 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 217 SC(math_cos, V8.MathCos) \ | 217 SC(math_cos, V8.MathCos) \ |
| 218 SC(math_exp, V8.MathExp) \ | 218 SC(math_exp, V8.MathExp) \ |
| 219 SC(math_floor, V8.MathFloor) \ | 219 SC(math_floor, V8.MathFloor) \ |
| 220 SC(math_log, V8.MathLog) \ | 220 SC(math_log, V8.MathLog) \ |
| 221 SC(math_pow, V8.MathPow) \ | 221 SC(math_pow, V8.MathPow) \ |
| 222 SC(math_round, V8.MathRound) \ | 222 SC(math_round, V8.MathRound) \ |
| 223 SC(math_sin, V8.MathSin) \ | 223 SC(math_sin, V8.MathSin) \ |
| 224 SC(math_sqrt, V8.MathSqrt) \ | 224 SC(math_sqrt, V8.MathSqrt) \ |
| 225 SC(math_tan, V8.MathTan) \ | 225 SC(math_tan, V8.MathTan) \ |
| 226 SC(transcendental_cache_hit, V8.TranscendentalCacheHit) \ | 226 SC(transcendental_cache_hit, V8.TranscendentalCacheHit) \ |
| 227 SC(transcendental_cache_miss, V8.TranscendentalCacheMiss) | 227 SC(transcendental_cache_miss, V8.TranscendentalCacheMiss) \ |
| 228 SC(quote_json_char_count, V8.QuoteJsonCharacterCount) \ |
| 229 SC(quote_json_char_recount, V8.QuoteJsonCharacterReCount) \ |
| 228 | 230 |
| 229 | 231 |
| 230 // This file contains all the v8 counters that are in use. | 232 // This file contains all the v8 counters that are in use. |
| 231 class Counters : AllStatic { | 233 class Counters : AllStatic { |
| 232 public: | 234 public: |
| 233 #define HT(name, caption) \ | 235 #define HT(name, caption) \ |
| 234 static HistogramTimer name; | 236 static HistogramTimer name; |
| 235 HISTOGRAM_TIMER_LIST(HT) | 237 HISTOGRAM_TIMER_LIST(HT) |
| 236 #undef HT | 238 #undef HT |
| 237 | 239 |
| (...skipping 17 matching lines...) Expand all Loading... |
| 255 stats_counter_count | 257 stats_counter_count |
| 256 }; | 258 }; |
| 257 | 259 |
| 258 // Sliding state window counters. | 260 // Sliding state window counters. |
| 259 static StatsCounter state_counters[]; | 261 static StatsCounter state_counters[]; |
| 260 }; | 262 }; |
| 261 | 263 |
| 262 } } // namespace v8::internal | 264 } } // namespace v8::internal |
| 263 | 265 |
| 264 #endif // V8_V8_COUNTERS_H_ | 266 #endif // V8_V8_COUNTERS_H_ |
| OLD | NEW |