nw::demo::DebugUtility::ResetMemoryLeakTester Member Function

Syntax

static void ResetMemoryLeakTester(
     nw::demo::DemoAllocator * deviceAllocator,
     nw::demo::DemoAllocator * particleAllocator
);

Arguments

Name Description
in deviceAllocator The device memory allocator to be detected.
in particleAllocator The particle memory allocator to be detected.

Return Values

None.

Description

Resets the memory leak test feature.

When you execute this function, the amount of memory in use at that time is saved. To test for memory leaks, use the TestMemoryLeak function.

If you run this function multiple times, only the last-executed process will be valid.


CONFIDENTIAL