CoverageSaveData

Example       Related Topics

Description

Takes a snapshot of all coverage data recorded since a program started, or since the last call to CoverageClearData. Purify continues to record data.

Syntax

int CoverageSaveData(void)

Returns

1

Coverage data is saved.

0

Coverage data is not saved.

Notes

§      This function is available only when you are collecting coverage data.

§      If you run a program that contains this function from the command line, and you also use the /SaveData or /SaveTextData options, the Purify coverage data file (.cfy) or ASCII text file (.txt) that Purify creates contains only the coverage data that was current when CoverageSaveData was called. The file does not contain data for the entire run.

(C) Copyright IBM Corporation 1992, 2010.