pub fn request_millijoules(
ring: &EnergyRing,
start_ns: u64,
end_ns: u64,
tokens: u64,
) -> Option<u64>Expand description
2026-09-26: Millijoules attributed to a request that emitted tokens over
[start_ns, end_ns]: its share, by tokens, of the energy counted over that
window. None when the ring is empty or the window saw no tokens.