#include <rtl_sched.h> int rtl_setclockmode(clockid_t clock, int mode, hrtime_t mode_param); |
This function is a non-portable Realtime Linux extension.
rtl_setclockmode sets the mode of the specified clock. The allowed modes depend on the clock. Generally, the following modes are supported:
The clock is in the oneshot mode. The mode_param is ignored.
The clock is in the periodic mode. The mode_param is the period expressed in nanoseconds.
©2001 FSMLabs Inc.
All rights reserved.