Skip to main content

get_us_unchecked

Function get_us_unchecked 

Source
pub fn get_us_unchecked() -> u64
Expand description

Like get_us but skips the error-mapping branch — the underlying ove_time_get_us is infallible on every supported backend’s hardware timer (the Result exists only to keep the API uniform with other ove fallible operations).

Use this when calling get_us in tight hot loops where the Result<u64> plumbing dominates the actual measurement (the bench suite’s time_get_us_overhead case is the canonical example).