[−][src]Function lsl_sys::lsl_local_clock
pub unsafe extern "C" fn lsl_local_clock() -> f64
Obtain a local system time stamp in seconds.
The resolution is better than a millisecond. This reading can be used to assign time stamps to samples as they are being acquired. If the "age" of a sample is known at a particular time (e.g., from USB transmission delays), it can be used as an offset to lsl_local_clock() to obtain a better estimate of when a sample was actually captured. See lsl_push_sample() for a use case.