Now in µs on the clock of the events, or `None` until [`install`]. The `now` RPC returns it, so Node can align the clocks with a round trip that carries no payload.
()
| 47 | /// Now in µs on the clock of the events, or `None` until [`install`]. The `now` RPC returns it, |
| 48 | /// so Node can align the clocks with a round trip that carries no payload. |
| 49 | pub fn now_us() -> Option<f64> { |
| 50 | LAYER.get().map(|l| us(l.now())) |
| 51 | } |
| 52 | |
| 53 | /// Adds `n` to `counter`. Just a load and branch unless recording. |
| 54 | #[inline] |