low-latency-data-structures 0.0.6

Experimental lock-free SPSC, SPMC broadcast, and SeqLock primitives tuned for ultra-low-latency systems
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//! Shared utilities for low-latency benchmarks: composable preflight checks,
//! a rdtscp helper, TSC calibration, and per-cpu local-timer-interrupt
//! counters. Each benchmark composes its own preflight from these pieces -
//! different benchmarks need different guarantees (e.g. throttled load needs
//! invariant TSC, single-thread micros don't).
//!
//! This module is gated on the internal `_bench_utils` feature, is
//! `#[doc(hidden)]`, and is not part of the public API. It exists so the
//! in-repo `examples/` benchmarks can share preflight code; downstream
//! crates should not rely on it.

#![allow(missing_docs)]

pub mod fmt;
pub mod loc;
pub mod preflight;
#[cfg(target_arch = "x86_64")]
pub mod tsc;