GetCurrentProcessorNumber

nn::os::Thread::GetCurrentProcessorNumber Member Function

Syntax

#include <nn/os.h>

static s32 GetCurrentProcessorNumber();

Parameters

None.

Return Values

Returns the number of the processor that the current thread is running on.

Description

Gets the number of the processor that the current thread is running on.

Because the execution load of this function is rather large, frequent calls may lead to lowered performance.

Revision History

2011/08/02
Added information about the execution load.
2010/01/07
Initial version.

CONFIDENTIAL