Struct clocksource::Clocksource [] [src]

pub struct Clocksource { /* fields omitted */ }

Methods

impl Clocksource
[src]

[src]

create a new clocksource

[src]

allows manual configuration of the Clocksource and performs initial calibration

[src]

get the approximate frequency of the source clock in Hz

[src]

get the raw counter reading of the source clock

[src]

get nanoseconds from the reference clock

[src]

get the nanoseconds from the source clock

[src]

calibrate the source frequency against the reference

[src]

recalculate the frequency, without changing the reference time

[src]

estimate of the phase error between the source and reference clocksource

[src]

converts a raw reading to approximation of reference in nanoseconds

Trait Implementations

impl Clone for Clocksource
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Default for Clocksource
[src]

[src]

Returns the "default value" for a type. Read more

Auto Trait Implementations

impl Send for Clocksource

impl Sync for Clocksource