| OLD | NEW |
| 1 // Copyright 2007-2008 the V8 project authors. All rights reserved. | 1 // Copyright 2007-2008 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 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 179 SC(math_cos, V8.MathCos) \ | 179 SC(math_cos, V8.MathCos) \ |
| 180 SC(math_exp, V8.MathExp) \ | 180 SC(math_exp, V8.MathExp) \ |
| 181 SC(math_floor, V8.MathFloor) \ | 181 SC(math_floor, V8.MathFloor) \ |
| 182 SC(math_log, V8.MathLog) \ | 182 SC(math_log, V8.MathLog) \ |
| 183 SC(math_pow, V8.MathPow) \ | 183 SC(math_pow, V8.MathPow) \ |
| 184 SC(math_round, V8.MathRound) \ | 184 SC(math_round, V8.MathRound) \ |
| 185 SC(math_sin, V8.MathSin) \ | 185 SC(math_sin, V8.MathSin) \ |
| 186 SC(math_sqrt, V8.MathSqrt) \ | 186 SC(math_sqrt, V8.MathSqrt) \ |
| 187 SC(math_tan, V8.MathTan) \ | 187 SC(math_tan, V8.MathTan) \ |
| 188 SC(transcendental_cache_hit, V8.TranscendentalCacheHit) \ | 188 SC(transcendental_cache_hit, V8.TranscendentalCacheHit) \ |
| 189 SC(transcendental_cache_miss, V8.TranscendentalCacheMiss) | 189 SC(transcendental_cache_miss, V8.TranscendentalCacheMiss) \ |
| 190 SC(safe_expression_succeeded, V8.SafeExpressionSucceeded) \ |
| 191 SC(safe_expression_tried, V8.SafeExpressionTried) |
| 190 | 192 |
| 191 // This file contains all the v8 counters that are in use. | 193 // This file contains all the v8 counters that are in use. |
| 192 class Counters : AllStatic { | 194 class Counters : AllStatic { |
| 193 public: | 195 public: |
| 194 #define HT(name, caption) \ | 196 #define HT(name, caption) \ |
| 195 static HistogramTimer name; | 197 static HistogramTimer name; |
| 196 HISTOGRAM_TIMER_LIST(HT) | 198 HISTOGRAM_TIMER_LIST(HT) |
| 197 #undef HT | 199 #undef HT |
| 198 | 200 |
| 199 #define SC(name, caption) \ | 201 #define SC(name, caption) \ |
| (...skipping 16 matching lines...) Expand all Loading... |
| 216 stats_counter_count | 218 stats_counter_count |
| 217 }; | 219 }; |
| 218 | 220 |
| 219 // Sliding state window counters. | 221 // Sliding state window counters. |
| 220 static StatsCounter state_counters[]; | 222 static StatsCounter state_counters[]; |
| 221 }; | 223 }; |
| 222 | 224 |
| 223 } } // namespace v8::internal | 225 } } // namespace v8::internal |
| 224 | 226 |
| 225 #endif // V8_V8_COUNTERS_H_ | 227 #endif // V8_V8_COUNTERS_H_ |
| OLD | NEW |