15 #ifndef MEMORYUSAGEPOINTERCOUNTS_H 16 #define MEMORYUSAGEPOINTERCOUNTS_H 18 #include "pandabase.h" 20 #ifdef DO_MEMORY_USAGE 32 class MemoryUsagePointerCounts {
34 INLINE MemoryUsagePointerCounts();
35 INLINE MemoryUsagePointerCounts(
const MemoryUsagePointerCounts ©);
36 INLINE
void operator = (
const MemoryUsagePointerCounts ©);
39 void add_info(MemoryInfo *info);
40 void output(ostream &out)
const;
42 INLINE
bool is_size_unknown()
const;
43 INLINE
size_t get_size()
const;
44 INLINE
int get_count()
const;
46 INLINE
bool operator < (
const MemoryUsagePointerCounts &other)
const;
49 static void output_bytes(ostream &out,
size_t size);
53 int _unknown_size_count;
57 INLINE ostream &operator << (ostream &out,
const MemoryUsagePointerCounts &c);
59 #include "memoryUsagePointerCounts.I" 61 #endif // DO_MEMORY_USAGE