Skip to main content

credit_depth

Function credit_depth 

Source
pub fn credit_depth(
    forward_latency: usize,
    backward_latency: usize,
    ii: usize,
) -> usize
Expand description

Credits a channel needs to sustain one item every ii cycles: the loop’s bandwidth-delay product. A channel always holds at least one credit — without one nothing can be sent at all.