This commit is contained in:
parent
f76e896d3b
commit
e25874c40b
|
@ -21,7 +21,7 @@ public:
|
|||
|
||||
// 消息所占据的指令数据大小。包括头部、负载数据、校验和附加数据
|
||||
virtual uint Size() const = 0;
|
||||
// 数据缓冲区大小
|
||||
// 最大数据大小
|
||||
virtual uint MaxDataSize() const = 0;
|
||||
|
||||
// 从数据流中读取消息
|
||||
|
|
|
@ -641,7 +641,7 @@ String& TokenStat::ToStr(String& str) const
|
|||
TS("TokenStat::ToStr");
|
||||
assert_ptr(this);
|
||||
|
||||
debug_printf("this=0x%08X _Last=0x%08X _Total=0x%08X \r\n", this, _Last, _Total);
|
||||
//debug_printf("this=0x%08X _Last=0x%08X _Total=0x%08X \r\n", this, _Last, _Total);
|
||||
str = str + "发:" + Percent() + "% " + RecvReply + "/" + SendRequest + " " + Speed() + "ms";
|
||||
str = str + " 收:" + PercentReply() + "% " + SendReply + "/" + RecvRequest + " 异步" + RecvReplyAsync;
|
||||
if (Read > 0) str = str + " 读:" + (ReadReply * 100 / Read) + " " + ReadReply + "/" + Read;
|
||||
|
|
Loading…
Reference in New Issue