| 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 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 78 SC(script_wrappers, V8.ScriptWrappers) \ | 78 SC(script_wrappers, V8.ScriptWrappers) \ |
| 79 SC(call_initialize_stubs, V8.CallInitializeStubs) \ | 79 SC(call_initialize_stubs, V8.CallInitializeStubs) \ |
| 80 SC(call_premonomorphic_stubs, V8.CallPreMonomorphicStubs) \ | 80 SC(call_premonomorphic_stubs, V8.CallPreMonomorphicStubs) \ |
| 81 SC(call_normal_stubs, V8.CallNormalStubs) \ | 81 SC(call_normal_stubs, V8.CallNormalStubs) \ |
| 82 SC(call_megamorphic_stubs, V8.CallMegamorphicStubs) \ | 82 SC(call_megamorphic_stubs, V8.CallMegamorphicStubs) \ |
| 83 SC(arguments_adaptors, V8.ArgumentsAdaptors) \ | 83 SC(arguments_adaptors, V8.ArgumentsAdaptors) \ |
| 84 SC(compilation_cache_hits, V8.CompilationCacheHits) \ | 84 SC(compilation_cache_hits, V8.CompilationCacheHits) \ |
| 85 SC(compilation_cache_misses, V8.CompilationCacheMisses) \ | 85 SC(compilation_cache_misses, V8.CompilationCacheMisses) \ |
| 86 SC(regexp_cache_hits, V8.RegExpCacheHits) \ | 86 SC(regexp_cache_hits, V8.RegExpCacheHits) \ |
| 87 SC(regexp_cache_misses, V8.RegExpCacheMisses) \ | 87 SC(regexp_cache_misses, V8.RegExpCacheMisses) \ |
| 88 SC(string_ctor_calls, V8.StringConstructorCalls) \ |
| 89 SC(string_ctor_conversions, V8.StringConstructorConversions) \ |
| 90 SC(string_ctor_cached_number, V8.StringConstructorCachedNumber) \ |
| 91 SC(string_ctor_string_value, V8.StringConstructorStringValue) \ |
| 92 SC(string_ctor_gc_required, V8.StringConstructorGCRequired) \ |
| 88 /* Amount of evaled source code. */ \ | 93 /* Amount of evaled source code. */ \ |
| 89 SC(total_eval_size, V8.TotalEvalSize) \ | 94 SC(total_eval_size, V8.TotalEvalSize) \ |
| 90 /* Amount of loaded source code. */ \ | 95 /* Amount of loaded source code. */ \ |
| 91 SC(total_load_size, V8.TotalLoadSize) \ | 96 SC(total_load_size, V8.TotalLoadSize) \ |
| 92 /* Amount of parsed source code. */ \ | 97 /* Amount of parsed source code. */ \ |
| 93 SC(total_parse_size, V8.TotalParseSize) \ | 98 SC(total_parse_size, V8.TotalParseSize) \ |
| 94 /* Amount of source code skipped over using preparsing. */ \ | 99 /* Amount of source code skipped over using preparsing. */ \ |
| 95 SC(total_preparse_skipped, V8.TotalPreparseSkipped) \ | 100 SC(total_preparse_skipped, V8.TotalPreparseSkipped) \ |
| 96 /* Amount of compiled source code. */ \ | 101 /* Amount of compiled source code. */ \ |
| 97 SC(total_compile_size, V8.TotalCompileSize) \ | 102 SC(total_compile_size, V8.TotalCompileSize) \ |
| (...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 247 stats_counter_count | 252 stats_counter_count |
| 248 }; | 253 }; |
| 249 | 254 |
| 250 // Sliding state window counters. | 255 // Sliding state window counters. |
| 251 static StatsCounter state_counters[]; | 256 static StatsCounter state_counters[]; |
| 252 }; | 257 }; |
| 253 | 258 |
| 254 } } // namespace v8::internal | 259 } } // namespace v8::internal |
| 255 | 260 |
| 256 #endif // V8_V8_COUNTERS_H_ | 261 #endif // V8_V8_COUNTERS_H_ |
| OLD | NEW |