Module simics::api::base::event

source ยท
Expand description

SIMICS APIs for event management

Structsยง

  • Simplified event management mechanism using dynamic dispatch to circumvent complex trait requirements due to difference in callback specification and post time when using the canonical SIMICS APIs
  • Flags for an event

Functionsยง

  • _event_cancel_step ๐Ÿ”’
    All unexpired evclass events posted for obj on clock for which pred returns nonzero will be cancelled and their destructor methods (if any) called. pred will be called with the data associated with the event and the supplied match_data. If pred is null (None in Python), all evclass events for obj on clock will be cancelled.
  • _event_cancel_time ๐Ÿ”’
    All unexpired evclass events posted for obj on clock for which pred returns nonzero will be cancelled and their destructor methods (if any) called. pred will be called with the data associated with the event and the supplied match_data. If pred is null (None in Python), all evclass events for obj on clock will be cancelled.
  • Return the number of cycles/seconds/steps to the first event of evclass of obj posted on clock for which pred is true, or โˆ’1 if no event matched. pred will be called with the data associated with the event and the supplied match_data. If pred is null (None in Python), the first evclass event for obj on clock will be used.
  • Return the number of cycles/seconds/steps to the first event of evclass of obj posted on clock for which pred is true, or โˆ’1 if no event matched. pred will be called with the data associated with the event and the supplied match_data. If pred is null (None in Python), the first evclass event for obj on clock will be used.
  • Return the number of cycles/seconds/steps to the first event of evclass of obj posted on clock for which pred is true, or โˆ’1 if no event matched. pred will be called with the data associated with the event and the supplied match_data. If pred is null (None in Python), the first evclass event for obj on clock will be used.
  • _event_post_cycle ๐Ÿ”’
    An event of evclass for object obj is posted on clock to occur at a given point in the future. The user_data will be associated with the event. The clock is the object that should be used for keeping track of time for the event. It can be a processor or an instance of the clock class.
  • _event_post_step ๐Ÿ”’
    An event of evclass for object obj is posted on clock to occur at a given point in the future. The user_data will be associated with the event. The clock is the object that should be used for keeping track of time for the event. It can be a processor or an instance of the clock class.
  • _event_post_time ๐Ÿ”’
    An event of evclass for object obj is posted on clock to occur at a given point in the future. The user_data will be associated with the event. The clock is the object that should be used for keeping track of time for the event. It can be a processor or an instance of the clock class.
  • _register_event ๐Ÿ”’
    Registers events identified by name and to be posted for objects of class cl, and returns the event class to be used in other calls. Callbacks are provided when posting events individually, this function registers a FFI callback compatible with the closure parameters for posting events.
  • All unexpired evclass events posted for obj on clock for which pred returns nonzero will be cancelled and their destructor methods (if any) called. pred will be called with the data associated with the event and the supplied match_data. If pred is null (None in Python), all evclass events for obj on clock will be cancelled.
  • All unexpired evclass events posted for obj on clock for which pred returns nonzero will be cancelled and their destructor methods (if any) called. pred will be called with the data associated with the event and the supplied match_data. If pred is null (None in Python), all evclass events for obj on clock will be cancelled.
  • Return the number of cycles/seconds/steps to the first event of evclass of obj posted on clock for which pred is true, or โˆ’1 if no event matched. pred will be called with the data associated with the event and the supplied match_data. If pred is null (None in Python), the first evclass event for obj on clock will be used.
  • Return the number of cycles/seconds/steps to the first event of evclass of obj posted on clock for which pred is true, or โˆ’1 if no event matched. pred will be called with the data associated with the event and the supplied match_data. If pred is null (None in Python), the first evclass event for obj on clock will be used.
  • Return the number of cycles/seconds/steps to the first event of evclass of obj posted on clock for which pred is true, or โˆ’1 if no event matched. pred will be called with the data associated with the event and the supplied match_data. If pred is null (None in Python), the first evclass event for obj on clock will be used.
  • An event of evclass for object obj is posted on clock to occur at a given point in the future. The user_data will be associated with the event. The clock is the object that should be used for keeping track of time for the event. It can be a processor or an instance of the clock class.
  • An event of evclass for object obj is posted on clock to occur at a given point in the future. The user_data will be associated with the event. The clock is the object that should be used for keeping track of time for the event. It can be a processor or an instance of the clock class.
  • An event of evclass for object obj is posted on clock to occur at a given point in the future. The user_data will be associated with the event. The clock is the object that should be used for keeping track of time for the event. It can be a processor or an instance of the clock class.
  • register_event ๐Ÿ”’
    Registers events identified by name and to be posted for objects of class cl, and returns the event class to be used in other calls. Callbacks are provided when posting events individually, this function registers a FFI callback compatible with the closure parameters for posting events.

Type Aliasesยง