lsl_local_clock function

  1. @Native<NativeLsl_local_clock>()
double lsl_local_clock()

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.

Implementation

@ffi.Native<NativeLsl_local_clock>()
external double lsl_local_clock();