wut  v1.7.0
Wii U Toolchain
Functions

Provides information about each core of the system's processor. More...

Collaboration diagram for Core:

Functions

uint32_t OSGetCoreCount ()
 Gets the number of cores in the system. More...
 
uint32_t OSGetCoreId ()
 Gets the core executing the current thread. More...
 
uint32_t OSGetMainCoreId ()
 Gets the main core of the system. More...
 
BOOL OSIsMainCore ()
 Determines whether the current thread is running on the main core. More...
 

Detailed Description

Provides information about each core of the system's processor.

Function Documentation

◆ OSGetCoreCount()

uint32_t OSGetCoreCount ( )

Gets the number of cores in the system.

On a retail Wii U, this is always 3.

Returns
The core count of the system.

◆ OSGetCoreId()

uint32_t OSGetCoreId ( )

Gets the core executing the current thread.

Returns
The ID of the current core.

◆ OSGetMainCoreId()

uint32_t OSGetMainCoreId ( )

Gets the main core of the system.

On a retail Wii U, this is always core 1.

Returns
The ID of the main core.

◆ OSIsMainCore()

BOOL OSIsMainCore ( )

Determines whether the current thread is running on the main core.

On a retail Wii U, the main core is always core 1.

Returns
true if the current core is the main core.
See also