<probes>.new-fraction-probe <probes>.new-sum-probe
Simics Reference Manual  /  3 Commands  /  3.2 Command List  / 

<probes>.new-percent-probe

Synopsis

<probes>.new-percent-probe "name" "display-name" "numerator-probe" "denominator-probe"

Description

Add a new probe-kind called name which is the percent of the numerator-probe compared to the denominator-probe. The display-name can be used when presenting the probe in a monitor tool or similar.

For all objects that have the numerator probe and the denominator probe (the owner object of the probes is the same) a new percent probe will be created for that object.

If one of the numerator or denominator probes is a global probe (i.e. only one probe exists in the system and it does not belong to an object) and the other has an owner object, a new percent probe will be created for the nonomator or denominator that has the owner object. Each of the new percent probes for the owner objects will then relate to the single global probe as either numerator or denominator.

If both probes are global only one new global probe will be created that is the percent of the numerator and the denominator probes.

The numerator and denominator must be of the following types: "int", "int128", "float", or "fraction".

Provided By

Simics Core
<probes>.new-fraction-probe <probes>.new-sum-probe