|
CS350 COS
COS
|
Go to the source code of this file.
Data Structures | |
| struct | KTime |
Typedefs | |
| typedef struct KTime | KTime |
| typedef uint64_t | UnixEpoch |
| typedef uint64_t | UnixEpochNS |
Functions | |
| uint64_t | Time_GetTSC () |
| void | KTime_Fixup (KTime *tm) |
| UnixEpoch | KTime_ToEpoch (const KTime *tm) |
| void | KTime_FromEpoch (UnixEpoch time, KTime *tm) |
| void | KTime_SetTime (UnixEpoch epoch, uint64_t tsc, uint64_t tps) |
| void | KTime_Tick (int rate) |
| UnixEpoch | KTime_GetEpoch () |
| UnixEpochNS | KTime_GetEpochNS () |
| struct KTime |
| typedef uint64_t UnixEpochNS |
| void KTime_Fixup | ( | KTime * | tm | ) |
Definition at line 109 of file ktime.c.
| UnixEpoch KTime_GetEpoch | ( | ) |
| UnixEpochNS KTime_GetEpochNS | ( | ) |
Definition at line 194 of file ktime.c.
Definition at line 163 of file ktime.c.
| void KTime_Tick | ( | int | rate | ) |
Definition at line 76 of file ktime.c.