|
My Kernel v0.1.0
|

Go to the source code of this file.
Macros | |
| #define | CLOCK_PER_SECOND 1000 |
| Used for conversions from seconds to another time unit. | |
| #define | SEC(_x) (_x) |
| Used for conversions from seconds to another time unit. | |
| #define | MS(_s) (1000 * SEC(_s)) |
| Used for conversions from seconds to another time unit. | |
| #define | US(_s) (1000 * MS((_s))) |
| Used for conversions from seconds to another time unit. | |
| #define | NS(_s) (1000 * US((_s))) |
| Used for conversions from seconds to another time unit. | |
| #define | SEC_TO_SEC(_s) SEC(_s) |
| Used for conversions to seconds from another time unit. | |
| #define | MS_TO_SEC(_s) (SEC(_s) / 1000) |
| Used for conversions to seconds from another time unit. | |
| #define | US_TO_SEC(_s) (MS((_s)) / 1000) |
| Used for conversions to seconds from another time unit. | |
| #define | NS_TO_SEC(_s) (US((_s)) / 1000) |
| Used for conversions to seconds from another time unit. | |