9 #include "../sf/service.h"
Result apmSetPerformanceConfiguration(ApmPerformanceMode PerformanceMode, u32 PerformanceConfiguration)
Sets the PerformanceConfiguration for the specified PerformanceMode.
ApmPerformanceMode
PerformanceMode.
Definition: apm.h:12
@ ApmPerformanceMode_Boost
Boost.
Definition: apm.h:15
@ ApmPerformanceMode_Invalid
Invalid.
Definition: apm.h:13
@ ApmPerformanceMode_Normal
Normal.
Definition: apm.h:14
ApmCpuBoostMode
CpuBoostMode. With appletSetCpuBoostMode, only values 0/1 are available. This allows using higher clo...
Definition: apm.h:19
@ ApmCpuBoostMode_Normal
Default, boost-mode disabled.
Definition: apm.h:20
@ ApmCpuBoostMode_FastLoad
Boost CPU. Additionally, throttle GPU to minimum. Use performance configurations 0x92220009 (Docked) ...
Definition: apm.h:21
@ ApmCpuBoostMode_Type2
Conserve power. Only throttle GPU to minimum. Use performance configurations 0x9222000B and 0x9222000...
Definition: apm.h:22
Service * apmGetServiceSession(void)
Gets the Service object for the actual apm service session.
Result apmInitialize(void)
Initialize apm. Used automatically by appletInitialize with AppletType_Application.
Result apmGetPerformanceMode(ApmPerformanceMode *out_performanceMode)
Gets the current ApmPerformanceMode.
Result apmGetPerformanceConfiguration(ApmPerformanceMode PerformanceMode, u32 *PerformanceConfiguration)
Gets the PerformanceConfiguration for the specified PerformanceMode.
void apmExit(void)
Exit apm. Used automatically by appletExit with AppletType_Application.
Service * apmGetServiceSession_Session(void)
Gets the Service object for ISession.
Service object structure.
Definition: service.h:14
u32 Result
Function error code result type.
Definition: types.h:44
uint32_t u32
32-bit unsigned integer.
Definition: types.h:21