| 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 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 91 SC(string_ctor_string_value, V8.StringConstructorStringValue) \ | 91 SC(string_ctor_string_value, V8.StringConstructorStringValue) \ |
| 92 SC(string_ctor_gc_required, V8.StringConstructorGCRequired) \ | 92 SC(string_ctor_gc_required, V8.StringConstructorGCRequired) \ |
| 93 /* Amount of evaled source code. */ \ | 93 /* Amount of evaled source code. */ \ |
| 94 SC(total_eval_size, V8.TotalEvalSize) \ | 94 SC(total_eval_size, V8.TotalEvalSize) \ |
| 95 /* Amount of loaded source code. */ \ | 95 /* Amount of loaded source code. */ \ |
| 96 SC(total_load_size, V8.TotalLoadSize) \ | 96 SC(total_load_size, V8.TotalLoadSize) \ |
| 97 /* Amount of parsed source code. */ \ | 97 /* Amount of parsed source code. */ \ |
| 98 SC(total_parse_size, V8.TotalParseSize) \ | 98 SC(total_parse_size, V8.TotalParseSize) \ |
| 99 /* Amount of source code skipped over using preparsing. */ \ | 99 /* Amount of source code skipped over using preparsing. */ \ |
| 100 SC(total_preparse_skipped, V8.TotalPreparseSkipped) \ | 100 SC(total_preparse_skipped, V8.TotalPreparseSkipped) \ |
| 101 /* Number of symbol lookups skipped using preparsing */ \ |
| 102 SC(total_preparse_symbols_skipped, V8.TotalPreparseSymbolSkipped) \ |
| 101 /* Amount of compiled source code. */ \ | 103 /* Amount of compiled source code. */ \ |
| 102 SC(total_compile_size, V8.TotalCompileSize) \ | 104 SC(total_compile_size, V8.TotalCompileSize) \ |
| 103 /* Amount of source code compiled with the old codegen. */ \ | 105 /* Amount of source code compiled with the old codegen. */ \ |
| 104 SC(total_old_codegen_source_size, V8.TotalOldCodegenSourceSize) \ | 106 SC(total_old_codegen_source_size, V8.TotalOldCodegenSourceSize) \ |
| 105 /* Amount of source code compiled with the full codegen. */ \ | 107 /* Amount of source code compiled with the full codegen. */ \ |
| 106 SC(total_full_codegen_source_size, V8.TotalFullCodegenSourceSize) \ | 108 SC(total_full_codegen_source_size, V8.TotalFullCodegenSourceSize) \ |
| 107 /* Number of contexts created from scratch. */ \ | 109 /* Number of contexts created from scratch. */ \ |
| 108 SC(contexts_created_from_scratch, V8.ContextsCreatedFromScratch) \ | 110 SC(contexts_created_from_scratch, V8.ContextsCreatedFromScratch) \ |
| 109 /* Number of contexts created by partial snapshot. */ \ | 111 /* Number of contexts created by partial snapshot. */ \ |
| 110 SC(contexts_created_by_snapshot, V8.ContextsCreatedBySnapshot) \ | 112 SC(contexts_created_by_snapshot, V8.ContextsCreatedBySnapshot) \ |
| (...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 256 stats_counter_count | 258 stats_counter_count |
| 257 }; | 259 }; |
| 258 | 260 |
| 259 // Sliding state window counters. | 261 // Sliding state window counters. |
| 260 static StatsCounter state_counters[]; | 262 static StatsCounter state_counters[]; |
| 261 }; | 263 }; |
| 262 | 264 |
| 263 } } // namespace v8::internal | 265 } } // namespace v8::internal |
| 264 | 266 |
| 265 #endif // V8_V8_COUNTERS_H_ | 267 #endif // V8_V8_COUNTERS_H_ |
| OLD | NEW |