ms1553-link-v2-snoop-endpoint namespace
Simics Reference Manual  /  5 Classes  / 

mtprof

Description

The mtprof class is used for multithreaded performance profiling.

Interfaces Implemented

conf_object, log_object

Notifiers

cell-change
Notifier that is triggered after the object's cell was changed.
object-delete
Notifier that is triggered just before Simics object is deleted.
queue-change
Notifier that is triggered after the object's clock was changed. New clock can be obtained with the SIM_object_clock function.

Commands for this class

Attributes

data
Pseudo attribute; read-only access; type: [[[ff][f*][f*]]*]
Performance data.
active
Pseudo attribute; read/write access; type: b
Enables or disables multithreaded simulation profiling.
modelrt
Pseudo attribute; read-only access; type: [i*]
List with predictions how fast the simulation would run on a host at least as many hast threads as there are cells in the simulation. Each entry corresponds to a particular latency, see the models attribute.
models
Pseudo attribute; read-only access; type: [i*]
List of time synchronization models labelled by the latency setting of the model.
cellrt
Pseudo attribute; read-only access; type: [i*]
List with the amount of cpu time (in us) used to simulate a particular cell. The order of the list is defined by the cells attribute.
realtime
Pseudo attribute; read-only access; type: i
Realtime elapsed (in us) while profiling.
cells
Pseudo attribute; read-only access; type: [o*]
List with cells; used to interpret the collected data.
interval
Pseudo attribute; read/write access; type: i
Profiling interval (in ms). Default is 10 ms.
max_points
Pseudo attribute; read/write access; type: i
Maximal number of data points to store in memory for later output to file or graph plotting. Default is 4000 points.
totalrt
Pseudo attribute; read-only access; type: i
Total amount of CPU time used for the simulation.

Provided By

mtprof
ms1553-link-v2-snoop-endpoint namespace