nw::demo::DebugUtility::TestMemoryLeak Member Function
static bool TestMemoryLeak(
nw::demo::DemoAllocator * deviceAllocator,
nw::demo::DemoAllocator * particleAllocator
);
| Name | Description | |
|---|---|---|
| in | deviceAllocator |
The device memory allocator to be detected. |
| in | particleAllocator | The particle memory allocator to be detected. |
true if the memory volume matches than when the ResetMemoryLeakTester function was executed. If not, returns false. Tests for memory leaks.
Compares the memory volume with that when the ResetMemoryLeakTester function was last executed. If the memory volume does not match that from execution of ResetMemoryLeakTester this function outputs a heap dump.
CONFIDENTIAL