Function simics::api::base::event::event_cancel_time

source ·
pub fn event_cancel_time<F>(
    clock: *mut ConfObject,
    event: *mut EventClass,
    obj: *mut ConfObject,
    filter: Option<F>,
) -> Result<()>
where F: Fn(*mut c_void) -> i32 + 'static,
Expand description

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.

There are separate calls for events posted at a point in time (cycle or seconds) and on a specific step.

§Arguments

  • clock - The clock the event to cancel was posted on
  • event - The event to cancel
  • obj - The object the event was posted on

§Context

Cell Context