OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
94 HM(heap_sample_total_committed, V8.MemoryHeapSampleTotalCommitted) \ | 94 HM(heap_sample_total_committed, V8.MemoryHeapSampleTotalCommitted) \ |
95 HM(heap_sample_total_used, V8.MemoryHeapSampleTotalUsed) \ | 95 HM(heap_sample_total_used, V8.MemoryHeapSampleTotalUsed) \ |
96 HM(heap_sample_map_space_committed, \ | 96 HM(heap_sample_map_space_committed, \ |
97 V8.MemoryHeapSampleMapSpaceCommitted) \ | 97 V8.MemoryHeapSampleMapSpaceCommitted) \ |
98 HM(heap_sample_cell_space_committed, \ | 98 HM(heap_sample_cell_space_committed, \ |
99 V8.MemoryHeapSampleCellSpaceCommitted) \ | 99 V8.MemoryHeapSampleCellSpaceCommitted) \ |
100 HM(heap_sample_property_cell_space_committed, \ | 100 HM(heap_sample_property_cell_space_committed, \ |
101 V8.MemoryHeapSamplePropertyCellSpaceCommitted) \ | 101 V8.MemoryHeapSamplePropertyCellSpaceCommitted) \ |
102 HM(heap_sample_code_space_committed, \ | 102 HM(heap_sample_code_space_committed, \ |
103 V8.MemoryHeapSampleCodeSpaceCommitted) \ | 103 V8.MemoryHeapSampleCodeSpaceCommitted) \ |
| 104 HM(heap_sample_maximum_committed, \ |
| 105 V8.MemoryHeapSampleMaximumCommitted) \ |
104 | 106 |
105 | 107 |
106 // WARNING: STATS_COUNTER_LIST_* is a very large macro that is causing MSVC | 108 // WARNING: STATS_COUNTER_LIST_* is a very large macro that is causing MSVC |
107 // Intellisense to crash. It was broken into two macros (each of length 40 | 109 // Intellisense to crash. It was broken into two macros (each of length 40 |
108 // lines) rather than one macro (of length about 80 lines) to work around | 110 // lines) rather than one macro (of length about 80 lines) to work around |
109 // this problem. Please avoid using recursive macros of this length when | 111 // this problem. Please avoid using recursive macros of this length when |
110 // possible. | 112 // possible. |
111 #define STATS_COUNTER_LIST_1(SC) \ | 113 #define STATS_COUNTER_LIST_1(SC) \ |
112 /* Global Handle Count*/ \ | 114 /* Global Handle Count*/ \ |
113 SC(global_handles, V8.GlobalHandles) \ | 115 SC(global_handles, V8.GlobalHandles) \ |
(...skipping 295 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
409 friend class Isolate; | 411 friend class Isolate; |
410 | 412 |
411 explicit Counters(Isolate* isolate); | 413 explicit Counters(Isolate* isolate); |
412 | 414 |
413 DISALLOW_IMPLICIT_CONSTRUCTORS(Counters); | 415 DISALLOW_IMPLICIT_CONSTRUCTORS(Counters); |
414 }; | 416 }; |
415 | 417 |
416 } } // namespace v8::internal | 418 } } // namespace v8::internal |
417 | 419 |
418 #endif // V8_V8_COUNTERS_H_ | 420 #endif // V8_V8_COUNTERS_H_ |
OLD | NEW |