BullseyeCoverage Up Contents Search

cov_dumpData - Save Measurements With Small Footprint Run-Time

int cov_dumpData(void);

Description

Function cov_dumpData writes coverage measurements to a file named BullseyeCoverage.data-pid. Use command covpost to process the file.

This function writes all the coverage measurements every time it is called.

In C++ programs, this function is called automatically at program termination. In C programs and programs that never terminate, you must add an explicit call to this function into your source code.

This function is automatically declared in source files compiled by covc. In other source files, declare it by including <BullseyeCoverage.h>.

This function is only available with the embedded system small footprint run-time configuration.

Return Value

If successful, cov_dumpData returns 0, otherwise it returns one of the error codes listed in Run-Time Errors.

Updated: 26 Aug 2020