<?php include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc'; $TOC = array(); $TOC_DEPRECATED = array(); $PARENTS = array(); include_once dirname(__FILE__) ."/toc/class.luasandbox.inc"; $setup = array ( 'home' => array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'ja', ), 'this' => array ( 0 => 'luasandbox.getmemoryusage.php', 1 => 'LuaSandbox::getMemoryUsage', 2 => 'Fetch the current memory usage of the Lua environment', ), 'up' => array ( 0 => 'class.luasandbox.php', 1 => 'LuaSandbox', ), 'prev' => array ( 0 => 'luasandbox.getcpuusage.php', 1 => 'LuaSandbox::getCPUUsage', ), 'next' => array ( 0 => 'luasandbox.getpeakmemoryusage.php', 1 => 'LuaSandbox::getPeakMemoryUsage', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/luasandbox/luasandbox/getmemoryusage.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?> <div id="luasandbox.getmemoryusage" class="refentry"> <div class="refnamediv"> <h1 class="refname">LuaSandbox::getMemoryUsage</h1> <p class="verinfo">(PECL luasandbox >= 1.0.0)</p><p class="refpurpose"><span class="refname">LuaSandbox::getMemoryUsage</span> — <span class="dc-title">Fetch the current memory usage of the Lua environment</span></p> </div> <div class="refsect1 description" id="refsect1-luasandbox.getmemoryusage-description"> <h3 class="title">説明</h3> <div class="methodsynopsis dc-description"> <span class="modifier">public</span> <span class="methodname"><strong>LuaSandbox::getMemoryUsage</strong></span>(): <span class="type"><a href="language.types.integer.php" class="type int">int</a></span></div> <p class="para rdfs-comment"> Fetches the current memory usage of the Lua environment. </p> </div> <div class="refsect1 parameters" id="refsect1-luasandbox.getmemoryusage-parameters"> <h3 class="title">パラメータ</h3> <p class="para">この関数にはパラメータはありません。</p> </div> <div class="refsect1 returnvalues" id="refsect1-luasandbox.getmemoryusage-returnvalues"> <h3 class="title">戻り値</h3> <p class="para"> Returns the current memory usage in bytes. </p> </div> <div class="refsect1 seealso" id="refsect1-luasandbox.getmemoryusage-seealso"> <h3 class="title">参考</h3> <p class="para"> <ul class="simplelist"> <li><span class="methodname"><a href="luasandbox.getpeakmemoryusage.php" class="methodname" rel="rdfs-seeAlso">LuaSandbox::getPeakMemoryUsage()</a> - Fetch the peak memory usage of the Lua environment</span></li> <li><span class="methodname"><a href="luasandbox.getcpuusage.php" class="methodname" rel="rdfs-seeAlso">LuaSandbox::getCPUUsage()</a> - Fetch the current CPU time usage of the Lua environment</span></li> <li><span class="methodname"><a href="luasandbox.setmemorylimit.php" class="methodname" rel="rdfs-seeAlso">LuaSandbox::setMemoryLimit()</a> - Set the memory limit for the Lua environment</span></li> </ul> </p> </div> </div><?php manual_footer($setup); ?>