|
PatchworkOS
19e446b
A non-POSIX operating system.
|
Go to the source code of this file.
Macros | |
| #define | CLOCKS_PER_SEC ((clock_t)1000000000ULL) |
| #define | CLOCKS_PER_MS ((clock_t)1000000ULL) |
| #define | CLOCKS_PER_US ((clock_t)1000ULL) |
| #define | CLOCKS_NEVER ((clock_t)__UINT64_MAX__) |
| #define | CLOCKS_REMAINING(deadline, uptime) |
| Safely calculate remaining time until deadline. | |
| #define | CLOCKS_DEADLINE(timeout, uptime) |
| Safely calculate deadline from timeout. | |
Typedefs | |
| typedef __UINT64_TYPE__ | clock_t |
| A nanosecond time. | |