Loading...
Searching...
No Matches
18#ifndef _COBALT_UAPI_TIME_H
19#define _COBALT_UAPI_TIME_H
21#ifndef CLOCK_MONOTONIC_RAW
22#define CLOCK_MONOTONIC_RAW 4
37#define __COBALT_CLOCK_STATIC(nr) ((clockid_t)(nr + 32))
39#define CLOCK_HOST_REALTIME __COBALT_CLOCK_STATIC(0)
41#define COBALT_MAX_EXTCLOCKS 64
43#define __COBALT_CLOCK_EXT(nr) ((clockid_t)(nr) | (1 << 6))
44#define __COBALT_CLOCK_EXT_P(id) ((int)(id) >= 64 && (int)(id) < 128)
45#define __COBALT_CLOCK_EXT_INDEX(id) ((int)(id) & ~(1 << 6))
53#define TFD_WAKEUP (1 << 2)