Support and Documentation
Breadcrumbs

LJM Timing Functions

Utility functions for creating timing intervals and accessing the host computer stable clock

  • LJM_GetHostTick Queries the host system's steady (monotonic) clock, preferentially with high precision.

  • LJM_GetHostTick32Bit Gets the current clock tick, exactly like LJM_GetHostTick, except it uses two 32-bit numbers.

  • LJM_StartInterval Sets up a reoccurring interval timer based on the host clock.

  • LJM_WaitForNextInterval Waits (blocks/sleeps) until the next interval occurs. If intervals are skipped, this function still waits until the next complete interval.

  • LJM_CleanInterval Cleans/deallocates memory for the given IntervalHandle.