[−][src]Trait bmk_linux::timing::Clock
A trait for time sources. This allows methods to be generic over different ways of measuring time.
Required methods
fn now() -> Self
Get a timestamp.
fn set_scaling_factor(&mut self, scaling: usize)
Set a scaling factor, which can be used to convert a difference of timestamps to seconds.