<branch_recorder_handler>.detach-branch-recorder <break_strings_v2>.bp-break-console-string
Simics Reference Manual  /  3 Commands  /  3.2 Command List  / 

<branch_recorder_handler>.start-instruction-profiling

Synopsis

<branch_recorder_handler>.start-instruction-profiling [-virtual]

Description

This command gets you started with instruction profiling quickly by creating a branch recorder for you and attaching it to the processor. If you want more control, use other profiling commands instead.

It creates a branch recorder and attaches it to the processor, just as if you had typed

new-branch-recorder branch_recorder physical

cpu.attach-branch-recorder branch_recorder

The branch recorder will (as the name implies) record branches taken by the processor (by physical addresses); various useful numbers can be computed from them. You can for example display execution count statistics by typing

branch_recorder.address-profile-data

(but you will not see anything interesting until you have let the processor run a few instructions).

With the -virtual flag, record virtual addresses; otherwise, record physical addresses.

Provided By

Simics Core

See Also

new-branch-recorder, <branch_recorder_handler>.attach-branch-recorder, <address_profiler>.address-profile-data
<branch_recorder_handler>.detach-branch-recorder <break_strings_v2>.bp-break-console-string