Struct AllocationCounts

Nested Relationships

Nested Types

Struct Documentation

struct AllocationCounts

Public Functions

inline void clear_counts()
inline void update(AllocationCounts const &that)
inline void add_counts(void *ptr, size_t sz)
inline void rem_counts(void *ptr, size_t sz)
inline AllocationCounts operator-(AllocationCounts const &that) const
inline AllocationCounts operator+(AllocationCounts const &that) const

Public Members

Item curr = {0, 0}
Item total = {0, 0}
Item max = {0, 0}
struct Item

Public Functions

inline void add(size_t sz)
inline void rem(size_t sz)
inline Item max(Item const &that) const

Public Members

ssize_t allocs
ssize_t size