Skip to main content

DevelopmentNodeEnvironment_MicrosoftVSCodeDependency_22NodeVersion_Bundle_Clean_Debug_ElectronProfile_EsbuildCompiler_Mountain/IPC/DevLog/
NowNano.rs

1//! Wall-clock nanoseconds since UNIX epoch. Used as the start
2//! tick for OTLP spans and per-IPC latency measurements.
3
4use std::time::{SystemTime, UNIX_EPOCH};
5
6pub fn Fn() -> u64 { SystemTime::now().duration_since(UNIX_EPOCH).unwrap_or_default().as_nanos() as u64 }