rama_utils/latency.rs
1//! latency utilities and common types
2
3/// The latency unit used to report latencies by various parts of the Rama codebase.
4#[derive(Copy, Clone, Debug)]
5pub enum LatencyUnit {
6 /// Use seconds.
7 Seconds,
8 /// Use milliseconds.
9 Millis,
10 /// Use microseconds.
11 Micros,
12 /// Use nanoseconds.
13 Nanos,
14}