Function etime_sleep_for_nanoseconds

Function Documentation

ECALTIME_API void etime_sleep_for_nanoseconds(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