Function simics_api_sys::bindings::VT_in_time_order
source ยท pub unsafe extern "C" fn VT_in_time_order(
handler: Option<unsafe extern "C" fn(data: cbdata_call_t)>,
data: cbdata_register_t,
)
Expand description
VT_in_time_order() is used to handle events (e.g. breakpoint haps) in strict time order. This is particularly useful when simics reverses since there is absolutely no guarantee that haps are invoked in reverse time order.
VT_c_in_time_order() is similar to VT_in_time_order(), except the buffer pointed to by the data argument is copied and later passed to the callback. The callback should not release the data or cache pointers to it since the space will be reused automatically.
The callback may raise an exception, e.g. by calling SIM_break_simulation, to signal that the simulation should be stopped.