Skip to main content

generate_cycles

Function generate_cycles 

Source
pub fn generate_cycles(step_cycles: &[u64], lat: u64) -> u64
Expand description

The cycles G reports for steps that took step_cycles each: per step, the protocol’s thirteen states around the step — G_LOOP, the token and position writes, the reset, the start, the cycle the fabric’s count ends on, the next token’s read and its lat cycles, G_TOK, and the four that queue the token’s two bytes. The G_LOOP that finds no step left reports the count as it stands before that cycle.