| 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 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 95 /* Amount of compiled source code. */ \ | 95 /* Amount of compiled source code. */ \ |
| 96 SC(total_compile_size, V8.TotalCompileSize) \ | 96 SC(total_compile_size, V8.TotalCompileSize) \ |
| 97 /* Amount of source code compiled with the old codegen. */ \ | 97 /* Amount of source code compiled with the old codegen. */ \ |
| 98 SC(total_old_codegen_source_size, V8.TotalOldCodegenSourceSize) \ | 98 SC(total_old_codegen_source_size, V8.TotalOldCodegenSourceSize) \ |
| 99 /* Amount of source code compiled with the full codegen. */ \ | 99 /* Amount of source code compiled with the full codegen. */ \ |
| 100 SC(total_full_codegen_source_size, V8.TotalFullCodegenSourceSize) \ | 100 SC(total_full_codegen_source_size, V8.TotalFullCodegenSourceSize) \ |
| 101 /* Number of contexts created from scratch. */ \ | 101 /* Number of contexts created from scratch. */ \ |
| 102 SC(contexts_created_from_scratch, V8.ContextsCreatedFromScratch) \ | 102 SC(contexts_created_from_scratch, V8.ContextsCreatedFromScratch) \ |
| 103 /* Number of contexts created by partial snapshot. */ \ | 103 /* Number of contexts created by partial snapshot. */ \ |
| 104 SC(contexts_created_by_snapshot, V8.ContextsCreatedBySnapshot) | 104 SC(contexts_created_by_snapshot, V8.ContextsCreatedBySnapshot) |
| 105 | 105 |
| 106 | 106 |
| 107 | 107 |
| 108 #define STATS_COUNTER_LIST_2(SC) \ | 108 #define STATS_COUNTER_LIST_2(SC) \ |
| 109 /* Number of code stubs. */ \ | 109 /* Number of code stubs. */ \ |
| 110 SC(code_stubs, V8.CodeStubs) \ | 110 SC(code_stubs, V8.CodeStubs) \ |
| 111 /* Amount of stub code. */ \ | 111 /* Amount of stub code. */ \ |
| 112 SC(total_stubs_code_size, V8.TotalStubsCodeSize) \ | 112 SC(total_stubs_code_size, V8.TotalStubsCodeSize) \ |
| 113 /* Amount of (JS) compiled code. */ \ | 113 /* Amount of (JS) compiled code. */ \ |
| 114 SC(total_compiled_code_size, V8.TotalCompiledCodeSize) \ | 114 SC(total_compiled_code_size, V8.TotalCompiledCodeSize) \ |
| 115 SC(gc_compactor_caused_by_request, V8.GCCompactorCausedByRequest) \ | 115 SC(gc_compactor_caused_by_request, V8.GCCompactorCausedByRequest) \ |
| (...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 198 stats_counter_count | 198 stats_counter_count |
| 199 }; | 199 }; |
| 200 | 200 |
| 201 // Sliding state window counters. | 201 // Sliding state window counters. |
| 202 static StatsCounter state_counters[]; | 202 static StatsCounter state_counters[]; |
| 203 }; | 203 }; |
| 204 | 204 |
| 205 } } // namespace v8::internal | 205 } } // namespace v8::internal |
| 206 | 206 |
| 207 #endif // V8_V8_COUNTERS_H_ | 207 #endif // V8_V8_COUNTERS_H_ |
| OLD | NEW |