Keil Logo

COVTOFILE

The command COVTOFILE saves statistics about the executed code of an application or parts of an application in a file without displaying it in the Code Coverage window. Refer to Fully Qualified Symbols for details about the syntax of modules.

Syntax Description
COVTOFILE filespec \module [DETAILS]
Saves coverage information for the selected module in the specified file. The option DETAILS provides additional information about conditional instruction execution.
COVTOFILE filespec \module\func [DETAILS] Saves coverage information for symbols of function func contained in module in the specified file. The option DETAILS provides additional information about conditional instruction execution.
COVTOFILE filespec \module\func [DETAILS] ASM Saves coverage information including assembly instructions of the whole application. The output format has the form:

<qualifier> | <addr> <opcode> <assembly code>

The values below lists the possible qualifiers:

NE Not executed.
EX Executed.
AT Always taken. Conditional instruction which was always taken (condition always true).
NT Not Taken. Conditional instruction which was never taken (condition always false).
FT Fully Taken. Conditional instruction which was each taken and not taken for at least one time.

Note

  • This command only saves the data in the specified file. For displaying the data in the Code Coverage window, use the COVERAGE command.
  • The option ASM is valid for some drivers only.
  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.