Line 1:
Line 1:
−
APM is utilized for setting system performance profiles including clocks for CPU, GPU, and memory.
+
PPC is used for setting system performance profiles including clocks for CPU, GPU, and memory.
[9.0.0+] The PPC system module is now stubbed and all its services were moved into [[PTM_services|PTM]].
[9.0.0+] The PPC system module is now stubbed and all its services were moved into [[PTM_services|PTM]].
Line 74:
Line 74:
== SetCpuBoostMode ==
== SetCpuBoostMode ==
Takes an u32 [[#CpuBoostMode]].
Takes an u32 [[#CpuBoostMode]].
−
−
=== CpuBoostMode ===
−
{| class="wikitable" border="1"
−
|-
−
! Mode || Description
−
|-
−
| 0 || Disabled.
−
|-
−
| 1 || Use [[#PerformanceConfiguration|performance configurations]] 0x92220009 and 0x9222000A, or 0x9222000B and 0x9222000C.
−
|-
−
| 2 || Use [[#PerformanceConfiguration|performance configurations]] 0x9222000B and 0x9222000C.
−
|}
== GetCurrentPerformanceConfiguration ==
== GetCurrentPerformanceConfiguration ==
Line 112:
Line 100:
== SetCpuOverclockEnabled ==
== SetCpuOverclockEnabled ==
Takes an input u8 bool, no output.
Takes an input u8 bool, no output.
−
−
== PerformanceMode ==
−
{| class="wikitable" border="1"
−
|-
−
! Value || Name
−
|-
−
| 0 || Handheld
−
|-
−
| 1 || Docked
−
|}
−
−
== PerformanceConfiguration ==
−
{| class="wikitable" border="1"
−
|-
−
! Value || CPU clock || GPU clock || Memory clock
−
|-
−
| 0x00010000 || 1020 || 384 || 1600
−
|-
−
| 0x00010001 || 1020 || 768 || 1600
−
|-
−
| 0x00010002 || 1224 || 691.2 || 1600
−
|-
−
| 0x00020000 || 1020 || 230.4 || 1600
−
|-
−
| 0x00020001 || 1020 || 307.2 || 1600
−
|-
−
| 0x00020002 || 1224 || 230.4 || 1600
−
|-
−
| 0x00020003 || 1020 || 307 || 1331.2
−
|-
−
| 0x00020004 || 1020 || 384 || 1331.2
−
|-
−
| 0x00020005 || 1020 || 307.2 || 1065.6
−
|-
−
| 0x00020006 || 1020 || 384 || 1065.6
−
|-
−
| 0x92220007 || 1020 || 460.8 || 1600
−
|-
−
| 0x92220008 || 1020 || 460.8 || 1331.2
−
|-
−
| [7.0.0+] 0x92220009 || 1785 || 768 || 1600
−
|-
−
| [7.0.0+] 0x9222000A || 1785 || 768 || 1331.2
−
|-
−
| [7.0.0+] 0x9222000B || 1020 || 768 || 1600
−
|-
−
| [7.0.0+] 0x9222000C || 1020 || 768 || 1331.2
−
|}
−
−
Clocks are all in MHz.
−
−
Configurations 0x10001 and 0x20000 are only available while docked. Configurations 0x10002 and 0x20002 are only available for SDEV units.
−
−
Some of these require apm:p.
= fgm, fgm:0, fgm:9 =
= fgm, fgm:0, fgm:9 =
Line 207:
Line 141:
|}
|}
−
= Settings =
+
= CpuBoostMode =
+
{| class="wikitable" border="1"
+
|-
+
! Value || Description
+
|-
+
| 0 || Disabled.
+
|-
+
| 1 || Boost CPU. Additionally, throttle GPU to minimum.
+
Use [[#PerformanceConfiguration|performance configurations]] 0x92220009 and 0x9222000A, or 0x9222000B and 0x9222000C.
+
|-
+
| 2 || Conserve power. Only throttle GPU to minimum.
+
Use [[#PerformanceConfiguration|performance configurations]] 0x9222000B and 0x9222000C.
+
|}
+
+
= PerformanceMode =
{| class="wikitable" border="1"
{| class="wikitable" border="1"
|-
|-
−
! Key || Size || Notes
+
! Value || Description
+
|-
+
| -1 || Invalid
+
|-
+
| 0 || Normal
+
|-
+
| 1 || Boost
+
|}
+
+
= PerformanceConfiguration =
+
{| class="wikitable" border="1"
|-
|-
−
| background_download_stress_testing_storage || strlen || "sdcard", "builtin", "system".
+
! Value || Description || CPU clock (MHz) || GPU clock (MHz) || Memory clock (MHz)
|-
|-
−
| battery_draining_enabled || 1 || ?
+
| 0x00000000 || Invalid || 0 || 0 || 0
|-
|-
−
| fs_access_log_mode || strlen || "log", "sdcard", "log+sdcard", "off".
+
| 0x00010000 || Cpu1020MhzGpu384Mhz || 1020.0 || 384.0 || 1600.0
|-
|-
−
| fs_speed_emulation_mode || strlen || "faster", "slower", "random", "off".
+
| 0x00010001 || Cpu1020MhzGpu768Mhz || 1020.0 || 768.0 || 1600.0
|-
|-
−
| host_romfs_redirection_target || strlen || "builtin", "off".
+
| 0x00010002 || Cpu1224MhzGpu691Mhz || 1224.0 || 691.2 || 1600.0
|-
|-
−
| idle_time_detect_mode || strlen || "on", "off".
+
| 0x00020000 || Cpu1020MhzGpu230Mhz|| 1020.0 || 230.4 || 1600.0
|-
|-
−
| initial_tick_value || strlen || "7days", "14days", "30days", "90days", "hex": ?.
+
| 0x00020001 || Cpu1020MhzGpu307Mhz || 1020.0 || 307.2 || 1600.0
|-
|-
−
| memory_mode || strlen || "auto", "4GB", "6GB".
+
| 0x00020002 || Cpu1224MhzGpu230Mhz || 1224.0 || 230.4 || 1600.0
|-
|-
−
| needs_update_vulnerability_policy || strlen || "default": ?, "force_true": ?, "force_false": ?.
+
| 0x00020003 || Cpu1020MhzGpu307MhzEmc1331Mhz || 1020.0 || 307.2 || 1331.2
|-
|-
−
| operation_mode_policy || strlen || "auto": ?, "handheld", "console".
+
| 0x00020004 || Cpu1020MhzGpu384MhzEmc1331Mhz || 1020.0 || 384.0 || 1331.2
|-
|-
−
| performance_mode_policy || strlen || "auto": use boost mode when docked. "normal": never use boost mode. "boost": always use boost mode (SDEV only).
+
| 0x00020005 || Cpu1020MhzGpu307MhzEmc1065Mhz || 1020.0 || 307.2 || 1065.6
|-
|-
−
| screenshot_target || strlen || "screenshot": ?, "physical": ?.
+
| 0x00020006 || Cpu1020MhzGpu384MhzEmc1065Mhz || 1020.0 || 384.0 || 1065.6
|-
|-
−
| sdev_cpu_overclock_enabled || 1 || SDEV only. Used to allow access to 1224MHz CPU mode.
+
| 0x92220007 || Cpu1020MhzGpu460MhzEmc1600Mhz || 1020.0 || 460.8 || 1600.0
|-
|-
−
| sdev_throttling_additional_delay_us || 4 || SDEV only.
+
| 0x92220008 || Cpu1020MhzGpu460MhzEmc1331Mhz || 1020.0 || 460.8 || 1331.2
|-
|-
−
| sdev_throttling_additional_delay_enabled || 1 || SDEV only.
+
| [7.0.0+] 0x92220009 || Cpu1785MhzGpu76MhzEmc1600Mhz || 1785.0 || 76.8 || 1600.0
|-
|-
−
| sleep_mode || strlen || "default": ?, "pseudo": ?.
+
| [7.0.0+] 0x9222000A || Cpu1785MhzGpu76MhzEmc1331Mhz || 1785.0 || 76.8 || 1331.2
|-
|-
−
| throttling_for_smpd_enabled || 1 || Not used as of 3.0.
+
| [7.0.0+] 0x9222000B || Cpu1020MhzGpu76MhzEmc1600Mhz || 1020.0 || 76.8 || 1600.0
|-
|-
−
| throttling_for_undock_enabled || 1 || Not used as of 3.0.
+
| [7.0.0+] 0x9222000C || Cpu1020MhzGpu76MhzEmc1331Mhz || 1020.0 || 76.8 || 1331.2
|}
|}
+
+
Configurations 0x10001 and 0x20000 are only available while docked. Configurations 0x10002 and 0x20002 are only available for SDEV units.
+
+
Some of these require apm:p.
[[Category:Services]]
[[Category:Services]]