wut
v1.7.0
Wii U Toolchain
|
Go to the source code of this file.
Data Structures | |
struct | OSCalendarTime |
Same as std c struct tm but with msec and usec added. More... | |
Macros | |
#define | OSTimerClockSpeed ((OSGetSystemInfo()->busClockSpeed) / 4) |
#define | OSSecondsToTicks(val) ((uint64_t)(val) * (uint64_t)OSTimerClockSpeed) |
#define | OSMillisecondsToTicks(val) (((uint64_t)(val) * (uint64_t)OSTimerClockSpeed) / 1000ull) |
#define | OSMicrosecondsToTicks(val) (((uint64_t)(val) * (uint64_t)OSTimerClockSpeed) / 1000000ull) |
#define | OSNanosecondsToTicks(val) (((uint64_t)(val) * ((uint64_t)OSTimerClockSpeed) / 31250ull) / 32000ull) |
#define | OSTicksToSeconds(val) ((uint64_t)(val) / (uint64_t)OSTimerClockSpeed) |
#define | OSTicksToMilliseconds(val) (((uint64_t)(val) * 1000ull) / (uint64_t)OSTimerClockSpeed) |
#define | OSTicksToMicroseconds(val) (((uint64_t)(val) * 1000000ull) / (uint64_t)OSTimerClockSpeed) |
#define | OSTicksToNanoseconds(val) (((uint64_t)(val) * 32000ull) / ((uint64_t)OSTimerClockSpeed / 31250ull)) |
Typedefs | |
typedef struct OSCalendarTime | OSCalendarTime |
typedef int32_t | OSTick |
typedef int64_t | OSTime |
Functions | |
OSTime | OSGetTime () |
OSTime | OSGetSystemTime () |
OSTick | OSGetTick () |
OSTick | OSGetSystemTick () |
OSTime | OSCalendarTimeToTicks (OSCalendarTime *calendarTime) |
void | OSTicksToCalendarTime (OSTime time, OSCalendarTime *calendarTime) |
BOOL | __OSSetAbsoluteSystemTime (OSTime time) |