Public Member Functions | |
| MemoryLogStruct (int category, int size) | |
| bool | Is_Valid_Memory_Log (void) |
Public Attributes | |
| int | Key0 |
| int | Key1 |
| int | Category |
| int | Size |
MemoryLogStruct This structure is added to the beginning of each memory allocation to facilitate tracking which category the memory belongs to when it is freed. The size of this struct is also 16 bytes so that we wont be seriously affecting the alignment of allocated memory...
Definition at line 607 of file wwmemlog.cpp.
|
inline |
Definition at line 609 of file wwmemlog.cpp.
|
inline |
Definition at line 616 of file wwmemlog.cpp.
| int MemoryLogStruct::Category |
Definition at line 620 of file wwmemlog.cpp.
| int MemoryLogStruct::Key0 |
Definition at line 618 of file wwmemlog.cpp.
| int MemoryLogStruct::Key1 |
Definition at line 619 of file wwmemlog.cpp.
| int MemoryLogStruct::Size |
Definition at line 621 of file wwmemlog.cpp.