diff options
| author | kx <kx@radix-linux.su> | 2026-10-09 18:00:15 +0300 |
|---|---|---|
| committer | kx <kx@radix-linux.su> | 2026-10-09 18:00:15 +0300 |
| commit | 065da3509019b15dd0e678072e6be629e5330bef (patch) | |
| tree | 69c934c9e786ac048b4fbe8f4c4c5571661521f4 /sysroot/include/sys/asm/time.h | |
| parent | d130fe27fa753be02ed76fd9b277aa3c3d928eb9 (diff) | |
| download | libmcpu-0.4.0.tar.xz | |
Version 0.4.00.4.0
Diffstat (limited to 'sysroot/include/sys/asm/time.h')
| -rw-r--r-- | sysroot/include/sys/asm/time.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/sysroot/include/sys/asm/time.h b/sysroot/include/sys/asm/time.h new file mode 100644 index 0000000..38932d5 --- /dev/null +++ b/sysroot/include/sys/asm/time.h @@ -0,0 +1,22 @@ + +#ifndef __MCPU_SYS_ASM_TIME_H +#define __MCPU_SYS_ASM_TIME_H + +/* HOST-independent MCPU clock IDs. */ +#define CLOCK_REALTIME 0 +#define CLOCK_MONOTONIC 1 + +/* MCPU clock_nanosleep(2) flag. */ +#define TIMER_ABSTIME 1 + +/* Fixed MCPU timeval ABI: two signed 64-bit fields. */ +#define __MCPU_TIMEVAL_SIZE 16 +#define __MCPU_TIMEVAL_TV_SEC 0 +#define __MCPU_TIMEVAL_TV_USEC 8 + +/* Fixed MCPU timespec ABI: two signed 64-bit fields. */ +#define __MCPU_TIMESPEC_SIZE 16 +#define __MCPU_TIMESPEC_TV_SEC 0 +#define __MCPU_TIMESPEC_TV_NSEC 8 + +#endif /* __MCPU_SYS_ASM_TIME_H */ |
