17 INLINE MemoryUsagePointerCounts::
18 MemoryUsagePointerCounts() {
20 _unknown_size_count = 0;
27 INLINE MemoryUsagePointerCounts::
30 _unknown_size_count(copy._unknown_size_count),
38 INLINE
void MemoryUsagePointerCounts::
41 _unknown_size_count = copy._unknown_size_count;
51 _unknown_size_count = 0;
61 return _unknown_size_count == _count;
84 INLINE
bool MemoryUsagePointerCounts::
101 INLINE std::ostream &
bool is_size_unknown() const
Returns true if none of the pointers in the count have a known size, or false if at least one of them...
int get_count() const
Returns the total number of pointers in the count.
void clear()
Resets the counter to empty.
size_t get_size() const
Returns the total allocated size of all pointers in the count whose size is known.
This is a supporting class for MemoryUsage.