| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef V8_COUNTERS_H_ | 5 #ifndef V8_COUNTERS_H_ |
| 6 #define V8_COUNTERS_H_ | 6 #define V8_COUNTERS_H_ |
| 7 | 7 |
| 8 #include "include/v8.h" | 8 #include "include/v8.h" |
| 9 #include "src/allocation.h" | 9 #include "src/allocation.h" |
| 10 #include "src/base/platform/elapsed-timer.h" | 10 #include "src/base/platform/elapsed-timer.h" |
| (...skipping 580 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 591 /* Amount of source code compiled with the full codegen. */ \ | 591 /* Amount of source code compiled with the full codegen. */ \ |
| 592 SC(total_full_codegen_source_size, V8.TotalFullCodegenSourceSize) \ | 592 SC(total_full_codegen_source_size, V8.TotalFullCodegenSourceSize) \ |
| 593 /* Number of contexts created from scratch. */ \ | 593 /* Number of contexts created from scratch. */ \ |
| 594 SC(contexts_created_from_scratch, V8.ContextsCreatedFromScratch) \ | 594 SC(contexts_created_from_scratch, V8.ContextsCreatedFromScratch) \ |
| 595 /* Number of contexts created by partial snapshot. */ \ | 595 /* Number of contexts created by partial snapshot. */ \ |
| 596 SC(contexts_created_by_snapshot, V8.ContextsCreatedBySnapshot) \ | 596 SC(contexts_created_by_snapshot, V8.ContextsCreatedBySnapshot) \ |
| 597 /* Number of code objects found from pc. */ \ | 597 /* Number of code objects found from pc. */ \ |
| 598 SC(pc_to_code, V8.PcToCode) \ | 598 SC(pc_to_code, V8.PcToCode) \ |
| 599 SC(pc_to_code_cached, V8.PcToCodeCached) \ | 599 SC(pc_to_code_cached, V8.PcToCodeCached) \ |
| 600 /* The store-buffer implementation of the write barrier. */ \ | 600 /* The store-buffer implementation of the write barrier. */ \ |
| 601 SC(store_buffer_compactions, V8.StoreBufferCompactions) \ | |
| 602 SC(store_buffer_overflows, V8.StoreBufferOverflows) | 601 SC(store_buffer_overflows, V8.StoreBufferOverflows) |
| 603 | 602 |
| 604 | 603 |
| 605 #define STATS_COUNTER_LIST_2(SC) \ | 604 #define STATS_COUNTER_LIST_2(SC) \ |
| 606 /* Number of code stubs. */ \ | 605 /* Number of code stubs. */ \ |
| 607 SC(code_stubs, V8.CodeStubs) \ | 606 SC(code_stubs, V8.CodeStubs) \ |
| 608 /* Amount of stub code. */ \ | 607 /* Amount of stub code. */ \ |
| 609 SC(total_stubs_code_size, V8.TotalStubsCodeSize) \ | 608 SC(total_stubs_code_size, V8.TotalStubsCodeSize) \ |
| 610 /* Amount of (JS) compiled code. */ \ | 609 /* Amount of (JS) compiled code. */ \ |
| 611 SC(total_compiled_code_size, V8.TotalCompiledCodeSize) \ | 610 SC(total_compiled_code_size, V8.TotalCompiledCodeSize) \ |
| (...skipping 263 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 875 | 874 |
| 876 explicit Counters(Isolate* isolate); | 875 explicit Counters(Isolate* isolate); |
| 877 | 876 |
| 878 DISALLOW_IMPLICIT_CONSTRUCTORS(Counters); | 877 DISALLOW_IMPLICIT_CONSTRUCTORS(Counters); |
| 879 }; | 878 }; |
| 880 | 879 |
| 881 } // namespace internal | 880 } // namespace internal |
| 882 } // namespace v8 | 881 } // namespace v8 |
| 883 | 882 |
| 884 #endif // V8_COUNTERS_H_ | 883 #endif // V8_COUNTERS_H_ |
| OLD | NEW |