solana_sdk::timing

Function duration_as_us

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