PPC services: Difference between revisions

No edit summary
Line 50: Line 50:
| 5 || [5.0.0+] LoadAndApplySettings
| 5 || [5.0.0+] LoadAndApplySettings
|-
|-
| 6 || [7.0.0+] SetCpuBoostMode
| 6 || [7.0.0+] [[#SetCpuBoostMode]]
|-
|-
| 7 || [7.0.0+] [[#GetCurrentPerformanceConfiguration]]
| 7 || [7.0.0+] [[#GetCurrentPerformanceConfiguration]]
Line 57: Line 57:
== GetPerformanceEvent ==
== GetPerformanceEvent ==
Returns an [[#ISession]].
Returns an [[#ISession]].
== SetCpuBoostMode ==
Takes an u32 [[#CpuBoostMode]].


== GetCurrentPerformanceConfiguration ==
== GetCurrentPerformanceConfiguration ==
Returns the currently active [[#PerformanceConfiguration]] (default value is 0x00020003).
Returns the currently active [[#PerformanceConfiguration]] (default value is 0x00020003).
=== 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.
|}


= ISession =
= ISession =
Line 74: Line 89:


== SetPerformanceConfiguration ==
== SetPerformanceConfiguration ==
Takes u32 [[#PerformanceMode]] and u32 [[#PerformanceConfiguration]].
Takes an u32 [[#PerformanceMode]] and an u32 [[#PerformanceConfiguration]].


== GetPerformanceConfiguration ==
== GetPerformanceConfiguration ==
Takes u32 [[#PerformanceMode]], returns output u32 [[#PerformanceConfiguration]].
Takes an u32 [[#PerformanceMode]] and returns an output u32 [[#PerformanceConfiguration]].


== PerformanceMode ==
== PerformanceMode ==
Line 118: Line 133:
| 0x92220008 || 1020 || 460.8 || 1331.2
| 0x92220008 || 1020 || 460.8 || 1331.2
|}
|}
Clocks are all in MHz.
Clocks are all in MHz.