clear-recorder command-file-history
Simics Reference Manual  /  3 Commands  /  3.2 Command List  / 

collect-coverage

Synopsis

collect-coverage "context-query" ["name"] [-next|-running] [-branch-coverage] [-access-count] [-linear]

Description

Start collecting code coverage for the context matching the context query given by the context-query argument.

If the -running flag is given, code coverage will be started on an already existing context.

If the -next flag is given, code coverage will be started on the next created context that matches the context query.

If the -branch-coverage flag is given, then branch coverage will be collected and stored in the report. Using this option can affect simulation performance.

If the -access-count flag is given, the times each instruction has been accessed will be stored in the report. Otherwise the count will always be set to 1. Using this option will affect simulation performance.

If the -linear flag is given, addresses on x86 processors will be collected as linear addresses instead of logical.

The name of the code coverage object can be specified by the name argument. If no name is provided a random name is selected.

Provided By

code-coverage
clear-recorder command-file-history