WUT  0.1
Wii U Toolchain
Data Structures | Macros | Typedefs | Functions
time.h File Reference
#include <wut.h>

Go to the source code of this file.

Data Structures

struct  OSCalendarTime
 

Macros

#define OSOneSecond   ((OSGetSystemInfo()->clockSpeed) / 4)
 
#define OSMilliseconds(val)   ((((uint64_t)(val)) * (uint64_t)(OSOneSecond)) / 1000ull)
 
#define OSMicroseconds(val)   ((((uint64_t)(val)) * (uint64_t)(OSOneSecond)) / 1000000ull)
 
#define OSNanoseconds(val)   ((((uint64_t)(val)) * (uint64_t)(OSOneSecond)) / 1000000000ull)
 

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)