Skip to main content

latency_kernel

Function latency_kernel 

Source
pub fn latency_kernel(
    l: Latency,
    ticks: b64,
    begin: bool,
    end: bool,
    abandon: bool,
) -> Latency
Expand description

Opens or closes a latency measurement.

  • begin: a request handshake happened while in_flight (before it) was zero.
  • end: an answer’s last handshake happened while in_flight (before it) was one.
  • abandon: a second request arrived while one was measured.