The mtprof class is used for multithreaded performance profiling.
conf_object, log_object
- 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.
-
cellstat
– display cell profiling information
-
disable
– disable multithreaded simulation profiling
-
enable
– enable multithreaded simulation profiling
-
info
– print information about the object
-
modelstat
– display ideal execution time on a sufficiently parallel host
-
save-data
– save profiling data to file
-
status
– print status of the object
-
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.
mtprof