[][src]Function dqcsim::bindings::dqcs_plugin_get_cycle

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

Returns the current value of the downstream cycle counter.

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

This function uses -1 to signal an error.