HDK
|
#include <UT_MemoryCounter.h>
Public Member Functions | |
UT_MemoryCounterFullSafe () | |
~UT_MemoryCounterFullSafe () override | |
void | reset () override |
bool | countShared (size_t size, exint refcount, const void *p) override |
size_t | getFullCount () const |
Public Member Functions inherited from UT_MemoryCounter | |
UT_MemoryCounter () | |
virtual | ~UT_MemoryCounter () |
void | countUnshared (size_t size) |
virtual size_t | getCount () const |
bool | mustCountShared () const |
bool | mustCountUnshared () const |
Additional Inherited Members | |
Protected Member Functions inherited from UT_MemoryCounter | |
UT_MemoryCounter (const bool countshared, const bool countunshared) | |
This subclass behaves the same as UT_MemoryCounterUniqueFullSafe, except not checking whether memory is unique to what's being counted.
Definition at line 251 of file UT_MemoryCounter.h.
|
inline |
Definition at line 254 of file UT_MemoryCounter.h.
|
inlineoverride |
Definition at line 259 of file UT_MemoryCounter.h.
|
inlineoverridevirtual |
This counts shared memory according to the requirements of the use case.
Reimplemented from UT_MemoryCounter.
Definition at line 272 of file UT_MemoryCounter.h.
|
inline |
Definition at line 295 of file UT_MemoryCounter.h.
This resets any data structures used for counting to their freshly-constructed state.
Reimplemented from UT_MemoryCounter.
Definition at line 263 of file UT_MemoryCounter.h.