cpumode_software_tracker_comp cycle_staller
Simics Reference Manual  /  5 Classes  / 

cycle-counter

Description

Instances of the cycle-counter class provide a cycle counter with event posting capabilities.

Interfaces Implemented

conf_object, log_object, temporal_state, cycle_event, cycle_control, frequency, callback_info, cycle_event_instrumentation

Notifiers

cell-change
Notifier that is triggered after the object's cell was changed.
frequency-change
Notifier that is triggered when frequency changes. New frequency can be read via the frequency interface of the object.
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 interface callback_info

Commands for interface cycle_event_instrumentation

Attributes

frequency
Optional attribute; read/write access; type: i|f|o|[of]
Cycle frequency in Hz or an object implementing the frequency interface.
events
Optional attribute; read/write access; type: [[osaai]*]
((object, evclass, value, unused, when)*). Pending events.
vtime
Optional attribute; read/write access; type: o|n
The vtime object driving this clock. The default clock associated with the object is used if the attribute is set to NULL.

Provided By

Simics Core
cpumode_software_tracker_comp cycle_staller