Function eCAL::Time::SleepForNanoseconds

Function Documentation

ECAL_API void eCAL::Time::SleepForNanoseconds(long long duration_nsecs_)

Blocks for the given amount of nanoseconds.

The actual amount of (real-) time is influenced by the current rate at which the time is proceeding. It is not guaranteed, that the precision of this function actually is in nanoseconds. Limitations of the operating system might reduce the accuracy.

Parameters

duration_nsecs_ – the duration in nanoseconds