[][src]Function dqcsim::bindings::dqcs_plugin_advance

#[no_mangle]pub extern "C" fn dqcs_plugin_advance(
    plugin: dqcs_plugin_state_t,
    cycles: dqcs_cycle_t
) -> dqcs_cycle_t

Tells the downstream plugin to run for the specified number of cycles.

Backend plugins are not allowed to call this. Doing so will result in an error.

The return value is the new cycle counter. This function uses -1 to signal an error.