![]() |
posix-next API 0.1.0
Out-of-tree Zephyr POSIX module
|
POSIX Thread CPU-Time Clocks option. More...
Macros | |
| #define | CLOCK_THREAD_CPUTIME_ID ((clockid_t)3) |
| CPU-time clock for the calling thread. | |
Functions | |
| int | pthread_getcpuclockid (pthread_t thread_id, clockid_t *clock_id) |
| Get the CPU-time clock of a thread. | |
POSIX Thread CPU-Time Clocks option.
| #define CLOCK_THREAD_CPUTIME_ID ((clockid_t)3) |
| int pthread_getcpuclockid | ( | pthread_t | thread_id, |
| clockid_t * | clock_id | ||
| ) |
Get the CPU-time clock of a thread.
| thread_id | Thread whose CPU-time clock to retrieve. |
| clock_id | Output: clock ID for the thread. |