mirror of
https://github.com/cloudwu/skynet.git
synced 2026-07-25 12:43:09 +00:00
@@ -1,4 +1,5 @@
|
|||||||
local table = table
|
local table = table
|
||||||
|
local extern_dbgcmd = {};
|
||||||
|
|
||||||
return function (skynet, export)
|
return function (skynet, export)
|
||||||
|
|
||||||
@@ -11,7 +12,7 @@ end
|
|||||||
local dbgcmd
|
local dbgcmd
|
||||||
|
|
||||||
local function init_dbgcmd()
|
local function init_dbgcmd()
|
||||||
dbgcmd = {}
|
dbgcmd = extern_dbgcmd
|
||||||
|
|
||||||
function dbgcmd.MEM()
|
function dbgcmd.MEM()
|
||||||
local kb, bytes = collectgarbage "count"
|
local kb, bytes = collectgarbage "count"
|
||||||
|
|||||||
Reference in New Issue
Block a user