| OLD | NEW |
| 1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 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 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 100 /* Amount of source code compiled with the old codegen. */ \ | 100 /* Amount of source code compiled with the old codegen. */ \ |
| 101 SC(total_old_codegen_source_size, V8.TotalOldCodegenSourceSize) \ | 101 SC(total_old_codegen_source_size, V8.TotalOldCodegenSourceSize) \ |
| 102 /* Amount of source code compiled with the full codegen. */ \ | 102 /* Amount of source code compiled with the full codegen. */ \ |
| 103 SC(total_full_codegen_source_size, V8.TotalFullCodegenSourceSize) \ | 103 SC(total_full_codegen_source_size, V8.TotalFullCodegenSourceSize) \ |
| 104 /* Number of contexts created from scratch. */ \ | 104 /* Number of contexts created from scratch. */ \ |
| 105 SC(contexts_created_from_scratch, V8.ContextsCreatedFromScratch) \ | 105 SC(contexts_created_from_scratch, V8.ContextsCreatedFromScratch) \ |
| 106 /* Number of contexts created by partial snapshot. */ \ | 106 /* Number of contexts created by partial snapshot. */ \ |
| 107 SC(contexts_created_by_snapshot, V8.ContextsCreatedBySnapshot) \ | 107 SC(contexts_created_by_snapshot, V8.ContextsCreatedBySnapshot) \ |
| 108 /* Number of code objects found from pc. */ \ | 108 /* Number of code objects found from pc. */ \ |
| 109 SC(pc_to_code, V8.PcToCode) \ | 109 SC(pc_to_code, V8.PcToCode) \ |
| 110 SC(pc_to_code_cached, V8.PcToCodeCached) | 110 SC(pc_to_code_cached, V8.PcToCodeCached) \ |
| 111 /* The store-buffer implementation of the write barrier. */ \ |
| 112 SC(store_buffer_compactions, V8.StoreBufferCompactions) \ |
| 113 SC(store_buffer_overflows, V8.StoreBufferOverflows) |
| 111 | 114 |
| 112 | 115 |
| 113 #define STATS_COUNTER_LIST_2(SC) \ | 116 #define STATS_COUNTER_LIST_2(SC) \ |
| 114 /* Number of code stubs. */ \ | 117 /* Number of code stubs. */ \ |
| 115 SC(code_stubs, V8.CodeStubs) \ | 118 SC(code_stubs, V8.CodeStubs) \ |
| 116 /* Amount of stub code. */ \ | 119 /* Amount of stub code. */ \ |
| 117 SC(total_stubs_code_size, V8.TotalStubsCodeSize) \ | 120 SC(total_stubs_code_size, V8.TotalStubsCodeSize) \ |
| 118 /* Amount of (JS) compiled code. */ \ | 121 /* Amount of (JS) compiled code. */ \ |
| 119 SC(total_compiled_code_size, V8.TotalCompiledCodeSize) \ | 122 SC(total_compiled_code_size, V8.TotalCompiledCodeSize) \ |
| 120 SC(gc_compactor_caused_by_request, V8.GCCompactorCausedByRequest) \ | 123 SC(gc_compactor_caused_by_request, V8.GCCompactorCausedByRequest) \ |
| (...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 298 // Sliding state window counters. | 301 // Sliding state window counters. |
| 299 StatsCounter state_counters_[kSlidingStateWindowCounterCount]; | 302 StatsCounter state_counters_[kSlidingStateWindowCounterCount]; |
| 300 friend class Isolate; | 303 friend class Isolate; |
| 301 | 304 |
| 302 DISALLOW_IMPLICIT_CONSTRUCTORS(Counters); | 305 DISALLOW_IMPLICIT_CONSTRUCTORS(Counters); |
| 303 }; | 306 }; |
| 304 | 307 |
| 305 } } // namespace v8::internal | 308 } } // namespace v8::internal |
| 306 | 309 |
| 307 #endif // V8_V8_COUNTERS_H_ | 310 #endif // V8_V8_COUNTERS_H_ |
| OLD | NEW |