Skip to main content

Module clock

Module clock 

Source
Expand description

High-resolution local clock, matching liblsl’s lsl_local_clock().

Uses std::time::Instant as a monotonic clock source with nanosecond precision.

Functions§

local_clock
Return the current local clock time in seconds (monotonic, high-resolution). Equivalent to liblsl’s lsl_local_clock().