solana_sdk::timing

Function duration_as_ns

Source
pub fn duration_as_ns(d: &Duration) -> u64
👎Deprecated since 2.1.0: Use Duration::as_nanos() directly