HDK
|
#include <UT_MemoryCounter.h>
Public Member Functions | |
UT_MemoryCounterUniqueFullSafe () | |
~UT_MemoryCounterUniqueFullSafe () override | |
void | reset () override |
bool | countShared (size_t size, exint refcount, const void *p) override |
size_t | getUniqueCount () const |
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_MemoryCounterNewSafe, except without an input set of pointers to avoid
Definition at line 179 of file UT_MemoryCounter.h.
|
inline |
Definition at line 182 of file UT_MemoryCounter.h.
|
inlineoverride |
Definition at line 188 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 202 of file UT_MemoryCounter.h.
|
inline |
Definition at line 238 of file UT_MemoryCounter.h.
|
inline |
Definition at line 233 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 192 of file UT_MemoryCounter.h.