SaveData

Examples       Related Topics

Description

Takes a snapshot of all memory profiling data recorded since a program started, or since the last call to ClearData. Data recording continues.

Syntax

int SaveData(void)

Returns

1

Measurement data was saved.

0

Measurement data was not saved.

Notes

§      If you run a program that contains this function from the command line, and you also use the /SaveData or /SaveTextData options, the data file that is created contains only the measurement data that was current when the SaveData() PureAPI function was called. The file does not contain data for the entire run.

§      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.

(C) Copyright IBM Corporation 1993, 2009.