HDK
|
#include <GA_DataArrayPageTableImpl.h>
Public Member Functions | |
ga_DataArrayPage (GA_PageOff capacity) | |
~ga_DataArrayPage () | |
int64 | getMemoryUsage (bool inclusive) const |
Report memory usage (includes all shared memory) More... | |
void | countMemory (UT_MemoryCounter &counter, bool inclusive) const |
void | ref () const |
void | unref () |
SYS_FORCE_INLINE bool | isShared () const |
ga_DataArrayPage< T > * | copy (GA_PageOff newcapacity=GA_PageOff(GA_PAGE_SIZE)) const |
const T * | castToData () const |
T * | castToData () |
int | capacity () const |
Definition at line 38 of file GA_DataArrayPageTableImpl.h.
|
inline |
Definition at line 41 of file GA_DataArrayPageTableImpl.h.
|
inline |
Definition at line 49 of file GA_DataArrayPageTableImpl.h.
|
inline |
Definition at line 97 of file GA_DataArrayPageTableImpl.h.
|
inline |
Definition at line 94 of file GA_DataArrayPageTableImpl.h.
|
inline |
Definition at line 95 of file GA_DataArrayPageTableImpl.h.
|
inline |
Definition at line 76 of file GA_DataArrayPageTableImpl.h.
void GA_Private::ga_DataArrayPage< T >::countMemory | ( | UT_MemoryCounter & | counter, |
bool | inclusive | ||
) | const |
Count memory usage using a UT_MemoryCounter in order to count shared memory correctly. If inclusive is true, the size of this object is counted, else only memory owned by this object is counted. If this is pointed to by the calling object, inclusive should be true. If this is contained in the calling object, inclusive should be false. (Its memory was already counted in the size of the calling object.)
|
inline |
Report memory usage (includes all shared memory)
Definition at line 56 of file GA_DataArrayPageTableImpl.h.
|
inline |
Definition at line 73 of file GA_DataArrayPageTableImpl.h.
|
inline |
Definition at line 71 of file GA_DataArrayPageTableImpl.h.
|
inline |
Definition at line 72 of file GA_DataArrayPageTableImpl.h.