Skip to main content

leaf_prediction

Function leaf_prediction 

Source
fn leaf_prediction(mean_ns: u64) -> u32
Expand description

Clamp a leaf mean to the u32 prediction field of the shared node.

A mean beyond 2^32 - 1 nsecs (about 4.3 s) is beyond the scheduler’s timescale (the Q3 slice is 4 ms), so it saturates; the walk returns the field as-is.