Merge branch 'master' of github.com:cloudwu/skynet

This commit is contained in:
Cloud Wu
2016-04-20 22:35:29 +08:00

View File

@@ -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"