cpu_mode_filter cpumode_software_tracker
Simics Reference Manual  /  5 Classes  / 

cpumode_software_mapper

Description

A mapper for the CPU mode software tracker. It creates a node-tree with three levels: root->mode->CPU and activates the CPU leaf node in the mode branch whenever the CPU enters that mode.

Interfaces Implemented

conf_object, log_object, osa_mapper_admin, osa_mapper_control, osa_mapper_query

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

base_nodes
Optional attribute; read/write access; type: D
Base nodes for all modes
cpu_and_mode_to_node
Optional attribute; read/write access; type: [[oii]*]
Mapping from entitys plus mode to a node ID in the node tree on the following format: [cpu, mode, node ID].
enabled
Pseudo attribute; read/write access; type: b
Is the mapper enabled
entity_to_cpu
Optional attribute; read/write access; type: [[io]*]
Mapping from entity to cpu on the format [entity ID, cpu].
parent
Required attribute; read/write access; type: o
parent object to use, should implement osa_tracker_state_query, osa_tracker_state_notification and osa_node_tree_admin interfaces. This is usually the osa_admin object.
root_id
Optional attribute; read/write access; type: i|n
Root node id
tracker
Required attribute; read/write access; type: o
Tracker to create a node-tree representation for

Provided By

cpumode-software-tracker
cpu_mode_filter cpumode_software_tracker