| 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 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 64 SC(symbol_table_capacity, V8.SymbolTableCapacity) \ | 64 SC(symbol_table_capacity, V8.SymbolTableCapacity) \ |
| 65 SC(number_of_symbols, V8.NumberOfSymbols) \ | 65 SC(number_of_symbols, V8.NumberOfSymbols) \ |
| 66 /* Current amount of memory in external string buffers. */ \ | 66 /* Current amount of memory in external string buffers. */ \ |
| 67 SC(total_external_string_memory, V8.TotalExternalStringMemory) \ | 67 SC(total_external_string_memory, V8.TotalExternalStringMemory) \ |
| 68 SC(script_wrappers, V8.ScriptWrappers) \ | 68 SC(script_wrappers, V8.ScriptWrappers) \ |
| 69 SC(call_initialize_stubs, V8.CallInitializeStubs) \ | 69 SC(call_initialize_stubs, V8.CallInitializeStubs) \ |
| 70 SC(call_premonomorphic_stubs, V8.CallPreMonomorphicStubs) \ | 70 SC(call_premonomorphic_stubs, V8.CallPreMonomorphicStubs) \ |
| 71 SC(call_normal_stubs, V8.CallNormalStubs) \ | 71 SC(call_normal_stubs, V8.CallNormalStubs) \ |
| 72 SC(call_megamorphic_stubs, V8.CallMegamorphicStubs) \ | 72 SC(call_megamorphic_stubs, V8.CallMegamorphicStubs) \ |
| 73 SC(arguments_adaptors, V8.ArgumentsAdaptors) \ | 73 SC(arguments_adaptors, V8.ArgumentsAdaptors) \ |
| 74 SC(eval_cache_hits, V8.EvalCacheHits) \ | 74 SC(compilation_cache_hits, V8.CompilationCacheHits) \ |
| 75 SC(eval_cache_misses, V8.EvalCacheMisses) \ | 75 SC(compilation_cache_misses, V8.CompilationCacheMisses) \ |
| 76 /* Amount of evaled source code. */ \ | 76 /* Amount of evaled source code. */ \ |
| 77 SC(total_eval_size, V8.TotalEvalSize) \ | 77 SC(total_eval_size, V8.TotalEvalSize) \ |
| 78 /* Amount of loaded source code. */ \ | 78 /* Amount of loaded source code. */ \ |
| 79 SC(total_load_size, V8.TotalLoadSize) \ | 79 SC(total_load_size, V8.TotalLoadSize) \ |
| 80 /* Amount of parsed source code. */ \ | 80 /* Amount of parsed source code. */ \ |
| 81 SC(total_parse_size, V8.TotalParseSize) \ | 81 SC(total_parse_size, V8.TotalParseSize) \ |
| 82 /* Amount of source code skipped over using preparsing. */ \ | 82 /* Amount of source code skipped over using preparsing. */ \ |
| 83 SC(total_preparse_skipped, V8.TotalPreparseSkipped) \ | 83 SC(total_preparse_skipped, V8.TotalPreparseSkipped) \ |
| 84 /* Amount of compiled source code. */ \ | 84 /* Amount of compiled source code. */ \ |
| 85 SC(total_compile_size, V8.TotalCompileSize) | 85 SC(total_compile_size, V8.TotalCompileSize) |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 145 stats_counter_count | 145 stats_counter_count |
| 146 }; | 146 }; |
| 147 | 147 |
| 148 // Sliding state window counters. | 148 // Sliding state window counters. |
| 149 static StatsCounter state_counters[]; | 149 static StatsCounter state_counters[]; |
| 150 }; | 150 }; |
| 151 | 151 |
| 152 } } // namespace v8::internal | 152 } } // namespace v8::internal |
| 153 | 153 |
| 154 #endif // V8_COUNTERS_H_ | 154 #endif // V8_COUNTERS_H_ |
| OLD | NEW |