PurifyNewInuse

Related Topics

Description

Reports all new memory in use since the last call to PurifyNewInuse or PurifyClearInuse.

Syntax

int PurifyNewInuse(void)

Returns

n

Where n is the number of new bytes in use.

0

Purify didn't detect any new bytes in use, or Purify is not running.

Notes

§      When you call this function, Purify generates Memory In Use (MIU) messages in the Error View.

§      Purify calls this function internally through the setting Report at exit: Memory in use.

§      This function is used in the same way as PurifyNewLeaks; see the example for that function.

§      Calling this function repeatedly in a program that contains a large number of allocated blocks can slow down the instrumented program at run time.

§      You can call PurifyNewInUse interactively from the Purify View menu while your program is running.

(C) Copyright IBM Corporation 1992, 2010.