rewrite SSM and clonefunction

This commit is contained in:
Cloud Wu
2019-04-16 21:16:13 +08:00
committed by 云风
parent 2d6d2c75a4
commit 2ceb642b5d
32 changed files with 934 additions and 645 deletions

View File

@@ -155,7 +155,6 @@ function COMMAND.help()
debug = "debug address : debug a lua service",
signal = "signal address sig",
cmem = "Show C memory info",
shrtbl = "Show shared short string table info",
ping = "ping address",
call = "call address ...",
trace = "trace address [proto] [on|off]",
@@ -337,11 +336,6 @@ function COMMAND.cmem()
return tmp
end
function COMMAND.shrtbl()
local n, total, longest, space, slots, variance = memory.ssinfo()
return { n = n, total = total, longest = longest, space = space, slots = slots, average = n / slots, variace = variance }
end
function COMMAND.ping(address)
address = adjust_address(address)
local ti = skynet.now()