WUT  0.1
Wii U Toolchain
Data Structures | Macros | Typedefs | Functions

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)
 

Detailed Description

Macro Definition Documentation

#define OSOneSecond   ((OSGetSystemInfo()->clockSpeed) / 4)

Definition at line 36 of file time.h.

#define OSMilliseconds (   val)    ((((uint64_t)(val)) * (uint64_t)(OSOneSecond)) / 1000ull)

Definition at line 37 of file time.h.

#define OSMicroseconds (   val)    ((((uint64_t)(val)) * (uint64_t)(OSOneSecond)) / 1000000ull)

Definition at line 38 of file time.h.

#define OSNanoseconds (   val)    ((((uint64_t)(val)) * (uint64_t)(OSOneSecond)) / 1000000000ull)

Definition at line 39 of file time.h.

Typedef Documentation

Definition at line 14 of file time.h.

typedef int32_t OSTick

Definition at line 16 of file time.h.

typedef int64_t OSTime

Definition at line 17 of file time.h.

Function Documentation

OSTime OSGetTime ( )
OSTime OSGetSystemTime ( )
OSTick OSGetTick ( )
OSTick OSGetSystemTick ( )
OSTime OSCalendarTimeToTicks ( OSCalendarTime calendarTime)
void OSTicksToCalendarTime ( OSTime  time,
OSCalendarTime calendarTime 
)