« LuaSandbox::getCPUUsage
LuaSandbox::getPeakMemoryUsage »

LuaSandbox::getMemoryUsage

(PECL luasandbox >= 1.0.0)

LuaSandbox::getMemoryUsage — Fetch the current memory usage of the Lua environment

説明

public function LuaSandbox::getMemoryUsage(): int

Fetches the current memory usage of the Lua environment.

パラメータ

この関数にはパラメータはありません。

戻り値

Returns the current memory usage in bytes.

参考

関連キーワード:
LuaSandbox   memory   usage   environment   current   Fetch   getMemoryUsage   getCPUUsage   getPeakMemoryUsage   luasandbox   Fetches   bytes   参考   peak   time   setMemoryLimit   limit
関連する関数・ページ:
luasandbox.getpeakmemoryusage   luasandbox.getcpuusage   luasandbox.setmemorylimit   book.luasandbox   class.luasandbox   luasandbox.examples