CoverageClearData

Examples       Related Topics

Description

Clears all unsaved data for the current run that PureCoverage has collected up to this point.

Syntax

int CoverageClearData(void)

Returns

1

The data was cleared.

0

The data was not cleared.

Notes

§      You can click images\clearic.gif in the PureCoverage toolbar to clear data.

§      This function is especially useful for omitting certain coverage data, such as data for the startup phase of a program.

§      Use this function for native-compiled (unmanaged) programs.

§      Do not use this function (a PureCoverage API function) for Sun Java or .NET managed code programs. Use instead the corresponding PureAPI function.

(C) Copyright IBM Corporation 1993, 2010.