libnx/apm_8h_source.html
2025-05-08 06:59:12 +00:00

168 lines
23 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>libnx: include/switch/services/apm.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr id="projectrow">
<td id="projectalign">
<div id="projectname">libnx<span id="projectnumber">&#160;v4.9.0</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.8 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(document).ready(function() { init_codefold(0); });
/* @license-end */
</script>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="dir_42bea3d40f1f1694e41a8f3166c98108.html">switch</a></li><li class="navelem"><a class="el" href="dir_04a7e0b94d44ce4fc7ca3462163fd33c.html">services</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle"><div class="title">apm.h</div></div>
</div><!--header-->
<div class="contents">
<a href="apm_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno"> 1</span><span class="comment">/**</span></div>
<div class="line"><a id="l00002" name="l00002"></a><span class="lineno"> 2</span><span class="comment"> * @file apm.h</span></div>
<div class="line"><a id="l00003" name="l00003"></a><span class="lineno"> 3</span><span class="comment"> * @brief Performance management (apm) service IPC wrapper. This is used internally by applet with __nx_applet_PerformanceConfiguration, however if you prefer non-init/exit can be used manually. See also: https://switchbrew.org/wiki/PTM_services#apm:am</span></div>
<div class="line"><a id="l00004" name="l00004"></a><span class="lineno"> 4</span><span class="comment"> * @author yellows8</span></div>
<div class="line"><a id="l00005" name="l00005"></a><span class="lineno"> 5</span><span class="comment"> * @copyright libnx Authors</span></div>
<div class="line"><a id="l00006" name="l00006"></a><span class="lineno"> 6</span><span class="comment"> */</span></div>
<div class="line"><a id="l00007" name="l00007"></a><span class="lineno"> 7</span><span class="preprocessor">#pragma once</span></div>
<div class="line"><a id="l00008" name="l00008"></a><span class="lineno"> 8</span><span class="preprocessor">#include &quot;../types.h&quot;</span></div>
<div class="line"><a id="l00009" name="l00009"></a><span class="lineno"> 9</span><span class="preprocessor">#include &quot;../sf/service.h&quot;</span></div>
<div class="line"><a id="l00010" name="l00010"></a><span class="lineno"> 10</span><span class="comment"></span> </div>
<div class="line"><a id="l00011" name="l00011"></a><span class="lineno"> 11</span><span class="comment">/// PerformanceMode</span></div>
<div class="foldopen" id="foldopen00012" data-start="{" data-end="};">
<div class="line"><a id="l00012" name="l00012"></a><span class="lineno"><a class="line" href="apm_8h.html#a202ac2fea4c9b9369b715c450314e163"> 12</a></span><span class="comment"></span><span class="keyword">typedef</span> <span class="keyword">enum</span> {</div>
<div class="line"><a id="l00013" name="l00013"></a><span class="lineno"><a class="line" href="apm_8h.html#a202ac2fea4c9b9369b715c450314e163a3e36ba2d68d7c8aa49eaf1870a2822eb"> 13</a></span> <a class="code hl_enumvalue" href="apm_8h.html#a202ac2fea4c9b9369b715c450314e163a3e36ba2d68d7c8aa49eaf1870a2822eb">ApmPerformanceMode_Invalid</a> = -1, <span class="comment">///&lt; Invalid</span></div>
<div class="line"><a id="l00014" name="l00014"></a><span class="lineno"><a class="line" href="apm_8h.html#a202ac2fea4c9b9369b715c450314e163abc062da77bb0f06559dc0c27671d9380"> 14</a></span> <a class="code hl_enumvalue" href="apm_8h.html#a202ac2fea4c9b9369b715c450314e163abc062da77bb0f06559dc0c27671d9380">ApmPerformanceMode_Normal</a> = 0, <span class="comment">///&lt; Normal</span></div>
<div class="line"><a id="l00015" name="l00015"></a><span class="lineno"><a class="line" href="apm_8h.html#a202ac2fea4c9b9369b715c450314e163a0fc6d3036d8efbf7498335f56caf518e"> 15</a></span> <a class="code hl_enumvalue" href="apm_8h.html#a202ac2fea4c9b9369b715c450314e163a0fc6d3036d8efbf7498335f56caf518e">ApmPerformanceMode_Boost</a> = 1, <span class="comment">///&lt; Boost</span></div>
<div class="line"><a id="l00016" name="l00016"></a><span class="lineno"> 16</span>} <a class="code hl_enumeration" href="apm_8h.html#a202ac2fea4c9b9369b715c450314e163">ApmPerformanceMode</a>;</div>
</div>
<div class="line"><a id="l00017" name="l00017"></a><span class="lineno"> 17</span><span class="comment"></span> </div>
<div class="line"><a id="l00018" name="l00018"></a><span class="lineno"> 18</span><span class="comment">/// CpuBoostMode. With \ref appletSetCpuBoostMode, only values 0/1 are available. This allows using higher clock rates.</span></div>
<div class="foldopen" id="foldopen00019" data-start="{" data-end="};">
<div class="line"><a id="l00019" name="l00019"></a><span class="lineno"><a class="line" href="apm_8h.html#a5690c3a786c3bee6ef93f5db5354e080"> 19</a></span><span class="comment"></span><span class="keyword">typedef</span> <span class="keyword">enum</span> {</div>
<div class="line"><a id="l00020" name="l00020"></a><span class="lineno"><a class="line" href="apm_8h.html#a5690c3a786c3bee6ef93f5db5354e080a12a6d432bbee99301be3852ba84d0d4b"> 20</a></span> <a class="code hl_enumvalue" href="apm_8h.html#a5690c3a786c3bee6ef93f5db5354e080a12a6d432bbee99301be3852ba84d0d4b">ApmCpuBoostMode_Normal</a> = 0, <span class="comment">///&lt; Default, boost-mode disabled.</span></div>
<div class="line"><a id="l00021" name="l00021"></a><span class="lineno"><a class="line" href="apm_8h.html#a5690c3a786c3bee6ef93f5db5354e080a1d40b4995f67f695cfe888a1518a5fff"> 21</a></span> <a class="code hl_enumvalue" href="apm_8h.html#a5690c3a786c3bee6ef93f5db5354e080a1d40b4995f67f695cfe888a1518a5fff">ApmCpuBoostMode_FastLoad</a> = 1, <span class="comment">///&lt; Boost CPU. Additionally, throttle GPU to minimum. Use performance configurations 0x92220009 (Docked) and 0x9222000A (Handheld), or 0x9222000B and 0x9222000C.</span></div>
<div class="line"><a id="l00022" name="l00022"></a><span class="lineno"><a class="line" href="apm_8h.html#a5690c3a786c3bee6ef93f5db5354e080ab71da80e8a94a17b2f81ca4e6f62d5c5"> 22</a></span> <a class="code hl_enumvalue" href="apm_8h.html#a5690c3a786c3bee6ef93f5db5354e080ab71da80e8a94a17b2f81ca4e6f62d5c5">ApmCpuBoostMode_Type2</a> = 2, <span class="comment">///&lt; Conserve power. Only throttle GPU to minimum. Use performance configurations 0x9222000B and 0x9222000C.</span></div>
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno"> 23</span>} <a class="code hl_enumeration" href="apm_8h.html#a5690c3a786c3bee6ef93f5db5354e080">ApmCpuBoostMode</a>;</div>
</div>
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno"> 24</span><span class="comment"></span> </div>
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno"> 25</span><span class="comment">/// Initialize apm. Used automatically by \ref appletInitialize with AppletType_Application.</span></div>
<div class="line"><a id="l00026" name="l00026"></a><span class="lineno"><a class="line" href="apm_8h.html#a93756bbc2ebd5c09e3921a0852a2a8ca"> 26</a></span><span class="comment"></span><a class="code hl_typedef" href="types_8h.html#ad1be2721625a17f1be47fac918032afe">Result</a> <a class="code hl_function" href="apm_8h.html#a93756bbc2ebd5c09e3921a0852a2a8ca">apmInitialize</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a id="l00027" name="l00027"></a><span class="lineno"> 27</span><span class="comment"></span> </div>
<div class="line"><a id="l00028" name="l00028"></a><span class="lineno"> 28</span><span class="comment">/// Exit apm. Used automatically by \ref appletExit with AppletType_Application.</span></div>
<div class="line"><a id="l00029" name="l00029"></a><span class="lineno"><a class="line" href="apm_8h.html#ab49039fe9490e547abe5d7db87ce48ab"> 29</a></span><span class="comment"></span><span class="keywordtype">void</span> <a class="code hl_function" href="apm_8h.html#ab49039fe9490e547abe5d7db87ce48ab">apmExit</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a id="l00030" name="l00030"></a><span class="lineno"> 30</span><span class="comment"></span> </div>
<div class="line"><a id="l00031" name="l00031"></a><span class="lineno"> 31</span><span class="comment">/// Gets the Service object for the actual apm service session.</span></div>
<div class="line"><a id="l00032" name="l00032"></a><span class="lineno"><a class="line" href="apm_8h.html#a624d5efbfcf3dac5c6e3117f09097008"> 32</a></span><span class="comment"></span><a class="code hl_struct" href="structService.html">Service</a>* <a class="code hl_function" href="apm_8h.html#a624d5efbfcf3dac5c6e3117f09097008">apmGetServiceSession</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a id="l00033" name="l00033"></a><span class="lineno"> 33</span><span class="comment"></span> </div>
<div class="line"><a id="l00034" name="l00034"></a><span class="lineno"> 34</span><span class="comment">/// Gets the Service object for ISession.</span></div>
<div class="line"><a id="l00035" name="l00035"></a><span class="lineno"><a class="line" href="apm_8h.html#a81d680ffb427ee63a6e28dc01d7ac498"> 35</a></span><span class="comment"></span><a class="code hl_struct" href="structService.html">Service</a>* <a class="code hl_function" href="apm_8h.html#a81d680ffb427ee63a6e28dc01d7ac498">apmGetServiceSession_Session</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a id="l00036" name="l00036"></a><span class="lineno"> 36</span><span class="comment"></span> </div>
<div class="line"><a id="l00037" name="l00037"></a><span class="lineno"> 37</span><span class="comment">/**</span></div>
<div class="line"><a id="l00038" name="l00038"></a><span class="lineno"> 38</span><span class="comment"> * @brief Gets the current ApmPerformanceMode.</span></div>
<div class="line"><a id="l00039" name="l00039"></a><span class="lineno"> 39</span><span class="comment"> * @param[out] out_performanceMode ApmPerformanceMode</span></div>
<div class="line"><a id="l00040" name="l00040"></a><span class="lineno"> 40</span><span class="comment"> */</span></div>
<div class="line"><a id="l00041" name="l00041"></a><span class="lineno"><a class="line" href="apm_8h.html#aa2bcc590745d133a47990f57ba57ef8c"> 41</a></span><a class="code hl_typedef" href="types_8h.html#ad1be2721625a17f1be47fac918032afe">Result</a> <a class="code hl_function" href="apm_8h.html#aa2bcc590745d133a47990f57ba57ef8c">apmGetPerformanceMode</a>(<a class="code hl_enumeration" href="apm_8h.html#a202ac2fea4c9b9369b715c450314e163">ApmPerformanceMode</a>* out_performanceMode);</div>
<div class="line"><a id="l00042" name="l00042"></a><span class="lineno"> 42</span><span class="comment"></span> </div>
<div class="line"><a id="l00043" name="l00043"></a><span class="lineno"> 43</span><span class="comment">/**</span></div>
<div class="line"><a id="l00044" name="l00044"></a><span class="lineno"> 44</span><span class="comment"> * @brief Sets the PerformanceConfiguration for the specified PerformanceMode.</span></div>
<div class="line"><a id="l00045" name="l00045"></a><span class="lineno"> 45</span><span class="comment"> * @param[in] PerformanceMode \ref ApmPerformanceMode</span></div>
<div class="line"><a id="l00046" name="l00046"></a><span class="lineno"> 46</span><span class="comment"> * @param[in] PerformanceConfiguration PerformanceConfiguration</span></div>
<div class="line"><a id="l00047" name="l00047"></a><span class="lineno"> 47</span><span class="comment"> */</span></div>
<div class="line"><a id="l00048" name="l00048"></a><span class="lineno"><a class="line" href="apm_8h.html#a1ba049c638daa1bcc5efcd169275dcd2"> 48</a></span><a class="code hl_typedef" href="types_8h.html#ad1be2721625a17f1be47fac918032afe">Result</a> <a class="code hl_function" href="apm_8h.html#a1ba049c638daa1bcc5efcd169275dcd2">apmSetPerformanceConfiguration</a>(<a class="code hl_enumeration" href="apm_8h.html#a202ac2fea4c9b9369b715c450314e163">ApmPerformanceMode</a> PerformanceMode, <a class="code hl_typedef" href="types_8h.html#afaa62991928fb9fb18ff0db62a040aba">u32</a> PerformanceConfiguration);</div>
<div class="line"><a id="l00049" name="l00049"></a><span class="lineno"> 49</span><span class="comment"></span> </div>
<div class="line"><a id="l00050" name="l00050"></a><span class="lineno"> 50</span><span class="comment">/**</span></div>
<div class="line"><a id="l00051" name="l00051"></a><span class="lineno"> 51</span><span class="comment"> * @brief Gets the PerformanceConfiguration for the specified PerformanceMode.</span></div>
<div class="line"><a id="l00052" name="l00052"></a><span class="lineno"> 52</span><span class="comment"> * @param[in] PerformanceMode \ref ApmPerformanceMode</span></div>
<div class="line"><a id="l00053" name="l00053"></a><span class="lineno"> 53</span><span class="comment"> * @param[out] PerformanceConfiguration PerformanceConfiguration</span></div>
<div class="line"><a id="l00054" name="l00054"></a><span class="lineno"> 54</span><span class="comment"> */</span></div>
<div class="line"><a id="l00055" name="l00055"></a><span class="lineno"><a class="line" href="apm_8h.html#aad892947ec959896481236d93711be31"> 55</a></span><a class="code hl_typedef" href="types_8h.html#ad1be2721625a17f1be47fac918032afe">Result</a> <a class="code hl_function" href="apm_8h.html#aad892947ec959896481236d93711be31">apmGetPerformanceConfiguration</a>(<a class="code hl_enumeration" href="apm_8h.html#a202ac2fea4c9b9369b715c450314e163">ApmPerformanceMode</a> PerformanceMode, <a class="code hl_typedef" href="types_8h.html#afaa62991928fb9fb18ff0db62a040aba">u32</a> *PerformanceConfiguration);</div>
<div class="ttc" id="aapm_8h_html_a1ba049c638daa1bcc5efcd169275dcd2"><div class="ttname"><a href="apm_8h.html#a1ba049c638daa1bcc5efcd169275dcd2">apmSetPerformanceConfiguration</a></div><div class="ttdeci">Result apmSetPerformanceConfiguration(ApmPerformanceMode PerformanceMode, u32 PerformanceConfiguration)</div><div class="ttdoc">Sets the PerformanceConfiguration for the specified PerformanceMode.</div></div>
<div class="ttc" id="aapm_8h_html_a202ac2fea4c9b9369b715c450314e163"><div class="ttname"><a href="apm_8h.html#a202ac2fea4c9b9369b715c450314e163">ApmPerformanceMode</a></div><div class="ttdeci">ApmPerformanceMode</div><div class="ttdoc">PerformanceMode.</div><div class="ttdef"><b>Definition</b> apm.h:12</div></div>
<div class="ttc" id="aapm_8h_html_a202ac2fea4c9b9369b715c450314e163a0fc6d3036d8efbf7498335f56caf518e"><div class="ttname"><a href="apm_8h.html#a202ac2fea4c9b9369b715c450314e163a0fc6d3036d8efbf7498335f56caf518e">ApmPerformanceMode_Boost</a></div><div class="ttdeci">@ ApmPerformanceMode_Boost</div><div class="ttdoc">Boost.</div><div class="ttdef"><b>Definition</b> apm.h:15</div></div>
<div class="ttc" id="aapm_8h_html_a202ac2fea4c9b9369b715c450314e163a3e36ba2d68d7c8aa49eaf1870a2822eb"><div class="ttname"><a href="apm_8h.html#a202ac2fea4c9b9369b715c450314e163a3e36ba2d68d7c8aa49eaf1870a2822eb">ApmPerformanceMode_Invalid</a></div><div class="ttdeci">@ ApmPerformanceMode_Invalid</div><div class="ttdoc">Invalid.</div><div class="ttdef"><b>Definition</b> apm.h:13</div></div>
<div class="ttc" id="aapm_8h_html_a202ac2fea4c9b9369b715c450314e163abc062da77bb0f06559dc0c27671d9380"><div class="ttname"><a href="apm_8h.html#a202ac2fea4c9b9369b715c450314e163abc062da77bb0f06559dc0c27671d9380">ApmPerformanceMode_Normal</a></div><div class="ttdeci">@ ApmPerformanceMode_Normal</div><div class="ttdoc">Normal.</div><div class="ttdef"><b>Definition</b> apm.h:14</div></div>
<div class="ttc" id="aapm_8h_html_a5690c3a786c3bee6ef93f5db5354e080"><div class="ttname"><a href="apm_8h.html#a5690c3a786c3bee6ef93f5db5354e080">ApmCpuBoostMode</a></div><div class="ttdeci">ApmCpuBoostMode</div><div class="ttdoc">CpuBoostMode. With appletSetCpuBoostMode, only values 0/1 are available. This allows using higher clo...</div><div class="ttdef"><b>Definition</b> apm.h:19</div></div>
<div class="ttc" id="aapm_8h_html_a5690c3a786c3bee6ef93f5db5354e080a12a6d432bbee99301be3852ba84d0d4b"><div class="ttname"><a href="apm_8h.html#a5690c3a786c3bee6ef93f5db5354e080a12a6d432bbee99301be3852ba84d0d4b">ApmCpuBoostMode_Normal</a></div><div class="ttdeci">@ ApmCpuBoostMode_Normal</div><div class="ttdoc">Default, boost-mode disabled.</div><div class="ttdef"><b>Definition</b> apm.h:20</div></div>
<div class="ttc" id="aapm_8h_html_a5690c3a786c3bee6ef93f5db5354e080a1d40b4995f67f695cfe888a1518a5fff"><div class="ttname"><a href="apm_8h.html#a5690c3a786c3bee6ef93f5db5354e080a1d40b4995f67f695cfe888a1518a5fff">ApmCpuBoostMode_FastLoad</a></div><div class="ttdeci">@ ApmCpuBoostMode_FastLoad</div><div class="ttdoc">Boost CPU. Additionally, throttle GPU to minimum. Use performance configurations 0x92220009 (Docked) ...</div><div class="ttdef"><b>Definition</b> apm.h:21</div></div>
<div class="ttc" id="aapm_8h_html_a5690c3a786c3bee6ef93f5db5354e080ab71da80e8a94a17b2f81ca4e6f62d5c5"><div class="ttname"><a href="apm_8h.html#a5690c3a786c3bee6ef93f5db5354e080ab71da80e8a94a17b2f81ca4e6f62d5c5">ApmCpuBoostMode_Type2</a></div><div class="ttdeci">@ ApmCpuBoostMode_Type2</div><div class="ttdoc">Conserve power. Only throttle GPU to minimum. Use performance configurations 0x9222000B and 0x9222000...</div><div class="ttdef"><b>Definition</b> apm.h:22</div></div>
<div class="ttc" id="aapm_8h_html_a624d5efbfcf3dac5c6e3117f09097008"><div class="ttname"><a href="apm_8h.html#a624d5efbfcf3dac5c6e3117f09097008">apmGetServiceSession</a></div><div class="ttdeci">Service * apmGetServiceSession(void)</div><div class="ttdoc">Gets the Service object for the actual apm service session.</div></div>
<div class="ttc" id="aapm_8h_html_a81d680ffb427ee63a6e28dc01d7ac498"><div class="ttname"><a href="apm_8h.html#a81d680ffb427ee63a6e28dc01d7ac498">apmGetServiceSession_Session</a></div><div class="ttdeci">Service * apmGetServiceSession_Session(void)</div><div class="ttdoc">Gets the Service object for ISession.</div></div>
<div class="ttc" id="aapm_8h_html_a93756bbc2ebd5c09e3921a0852a2a8ca"><div class="ttname"><a href="apm_8h.html#a93756bbc2ebd5c09e3921a0852a2a8ca">apmInitialize</a></div><div class="ttdeci">Result apmInitialize(void)</div><div class="ttdoc">Initialize apm. Used automatically by appletInitialize with AppletType_Application.</div></div>
<div class="ttc" id="aapm_8h_html_aa2bcc590745d133a47990f57ba57ef8c"><div class="ttname"><a href="apm_8h.html#aa2bcc590745d133a47990f57ba57ef8c">apmGetPerformanceMode</a></div><div class="ttdeci">Result apmGetPerformanceMode(ApmPerformanceMode *out_performanceMode)</div><div class="ttdoc">Gets the current ApmPerformanceMode.</div></div>
<div class="ttc" id="aapm_8h_html_aad892947ec959896481236d93711be31"><div class="ttname"><a href="apm_8h.html#aad892947ec959896481236d93711be31">apmGetPerformanceConfiguration</a></div><div class="ttdeci">Result apmGetPerformanceConfiguration(ApmPerformanceMode PerformanceMode, u32 *PerformanceConfiguration)</div><div class="ttdoc">Gets the PerformanceConfiguration for the specified PerformanceMode.</div></div>
<div class="ttc" id="aapm_8h_html_ab49039fe9490e547abe5d7db87ce48ab"><div class="ttname"><a href="apm_8h.html#ab49039fe9490e547abe5d7db87ce48ab">apmExit</a></div><div class="ttdeci">void apmExit(void)</div><div class="ttdoc">Exit apm. Used automatically by appletExit with AppletType_Application.</div></div>
<div class="ttc" id="astructService_html"><div class="ttname"><a href="structService.html">Service</a></div><div class="ttdoc">Service object structure.</div><div class="ttdef"><b>Definition</b> service.h:14</div></div>
<div class="ttc" id="atypes_8h_html_ad1be2721625a17f1be47fac918032afe"><div class="ttname"><a href="types_8h.html#ad1be2721625a17f1be47fac918032afe">Result</a></div><div class="ttdeci">u32 Result</div><div class="ttdoc">Function error code result type.</div><div class="ttdef"><b>Definition</b> types.h:44</div></div>
<div class="ttc" id="atypes_8h_html_afaa62991928fb9fb18ff0db62a040aba"><div class="ttname"><a href="types_8h.html#afaa62991928fb9fb18ff0db62a040aba">u32</a></div><div class="ttdeci">uint32_t u32</div><div class="ttdoc">32-bit unsigned integer.</div><div class="ttdef"><b>Definition</b> types.h:21</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8
</small></address>
</body>
</html>