APT:SetApplicationCpuTimeLimit: Difference between revisions

From 3dbrew
Jump to navigation Jump to search
No edit summary
 
Line 12: Line 12:
|-
|-
| 2
| 2
| Percentage of CPU time from 5 to 80 (passing 5 would be 5%)
| Percentage of CPU time from 5 to 89 (passing 5 would be 5%)
|}
|}


Line 29: Line 29:


=Description=
=Description=
This sets the amount of syscore CPU time available to the running application. It can range from 5% to 80%.
This sets the amount of syscore CPU time available to the running application. It can range from 5% to 89%. Maximum value depends on the [[NCCH/Extended_Header|ExHeader]].
Setting a value higher than 30% does not seem to improve performance on Old 3DS, however it definitely does on New 3DS.
Setting a value higher than 30% does not seem to improve performance on Old 3DS, however it definitely does on New 3DS.


This uses [[Process_Manager_Services|pmapp]] command 0x000A0140.
This uses [[Process_Manager_Services|pmapp]] command 0x000A0140.

Latest revision as of 22:39, 26 April 2020

Request

Index Word Description
0 Header code [0x004F0080]
1 Must be value 1(even with 9.0.0-20).
2 Percentage of CPU time from 5 to 89 (passing 5 would be 5%)

Response

Index Word Description
0 Header code
1 Result code

Description

This sets the amount of syscore CPU time available to the running application. It can range from 5% to 89%. Maximum value depends on the ExHeader. Setting a value higher than 30% does not seem to improve performance on Old 3DS, however it definitely does on New 3DS.

This uses pmapp command 0x000A0140.