Go to the source code of this file.
◆ SetThreadTimerSlackMS()
static void SetThreadTimerSlackMS |
( |
unsigned long |
slack_ms | ) |
|
|
inlinestatic |
◆ SetThreadTimerSlackNS()
static void SetThreadTimerSlackNS |
( |
unsigned long |
slack_ns | ) |
|
|
inlinestatic |
Set the current thread's timer slack to the specified number of nanoseconds (requires Linux 2.6.28).
This allows the kernel to merge multiple wakeups, which is a trick to save energy.
Definition at line 33 of file Slack.hxx.
◆ SetThreadTimerSlackUS()
static void SetThreadTimerSlackUS |
( |
unsigned long |
slack_us | ) |
|
|
inlinestatic |