LuaSandbox::getPeakMemoryUsage

(PECL luasandbox >= 1.0.0)

LuaSandbox::getPeakMemoryUsageFetch the peak memory usage of the Lua environment

說明

public LuaSandbox::getPeakMemoryUsage(): int

Fetches the peak memory usage of the Lua environment.

參數(shù)

此函數(shù)沒有參數(shù)。

返回值

Returns the peak memory usage in bytes.

參見