equal
deleted
inserted
replaced
131 const char* _name; |
131 const char* _name; |
132 } MemType2Name; |
132 } MemType2Name; |
133 |
133 |
134 |
134 |
135 // This class aggregates malloc'd records by memory type |
135 // This class aggregates malloc'd records by memory type |
136 class MallocMem : public _ValueObj { |
136 class MallocMem VALUE_OBJ_CLASS_SPEC { |
137 private: |
137 private: |
138 MEMFLAGS _type; |
138 MEMFLAGS _type; |
139 |
139 |
140 size_t _count; |
140 size_t _count; |
141 size_t _amount; |
141 size_t _amount; |
209 } |
209 } |
210 ArenaMem() { } |
210 ArenaMem() { } |
211 }; |
211 }; |
212 |
212 |
213 // This class aggregates virtual memory by its memory type |
213 // This class aggregates virtual memory by its memory type |
214 class VMMem : public _ValueObj { |
214 class VMMem VALUE_OBJ_CLASS_SPEC { |
215 private: |
215 private: |
216 MEMFLAGS _type; |
216 MEMFLAGS _type; |
217 |
217 |
218 size_t _count; |
218 size_t _count; |
219 size_t _reserved_amount; |
219 size_t _reserved_amount; |
294 * This class baselines current memory snapshot. |
294 * This class baselines current memory snapshot. |
295 * A memory baseline summarizes memory usage by memory type, |
295 * A memory baseline summarizes memory usage by memory type, |
296 * aggregates memory usage by callsites when detail tracking |
296 * aggregates memory usage by callsites when detail tracking |
297 * is on. |
297 * is on. |
298 */ |
298 */ |
299 class MemBaseline : public _ValueObj { |
299 class MemBaseline VALUE_OBJ_CLASS_SPEC { |
300 friend class BaselineReporter; |
300 friend class BaselineReporter; |
301 friend class BaselineComparisonReporter; |
301 friend class BaselineComparisonReporter; |
302 |
302 |
303 private: |
303 private: |
304 // overall summaries |
304 // overall summaries |