ClearData

Examples       Related Topics

Description

Clears all unsaved measurement data that has been collected up to this point.

Syntax

int ClearData(void)

Returns

0

 

Notes

§      This function is especially useful for discarding unneeded data, such as data collected during the startup phase of a program.

§      Use this function for Java program coverage runs, or .NET managed code program coverage, performance, or memory profiling runs.

§      Do not use this function (a PureAPI function) for native-compiled (unmanaged) programs. Use instead the corresponding Purify, PureCoverage, or Quantify API function.

§    This function does not reduce the Quantify memory footprint. It clears accumulators but doesn’t free those structures.

(C) Copyright IBM Corporation 1993, 2010.