SetApplicationCpuTimeLimit

nn::os::CTR::SetApplicationCpuTimeLimit Function

Syntax

Result SetApplicationCpuTimeLimit(
     s32 limitPercent
);

Parameters

Name Description
in limitPercent Specifies the CPU time to be allocated for the application. This is specified in units of percent.

Return Values

Description

Changes the CPU time allocation.

Changes the core 1 CPU time to be allocated for the application.

If you are going to use this function, be sure to read the section on the use of the system core in the System Programming Guide.

The CPU time allocated to the application is owned by the application and cannot be used by the system, regardless of whether the application is using that CPU time. For this reason, the greater the CPU time allocated to the application, the lower the performance of operations that represent a high load on the system, such as Internet communications.

Revision History

2011/10/27
Emphasized that this will decrease system performance.
2011/07/29
Initial version.

CONFIDENTIAL