diff --git a/server/wsproxy/app.cc b/server/wsproxy/app.cc index 61f0dc8..c6c0c9c 100644 --- a/server/wsproxy/app.cc +++ b/server/wsproxy/app.cc @@ -56,14 +56,16 @@ const char* const PROJ_LOG_FILENAME_FMT = "log_$pid_%Y%m%d.log"; static void SavePerfLog() { f8::UdpLog::Instance()->Info(" max_run_delay_time:%d max_timer_idle:%d " - "in_data_size:%d out_data_size:%d msgnode_size:%d read_count:%d max_login_time:%d " + "in_data_size:%d out_data_size:%d msgnode_size:%d udp_msgnode_size:%d " + "read_count:%d max_login_time:%d " "max_join_time:%d", { App::Instance()->GetPerf().max_run_delay_time, App::Instance()->GetPerf().max_timer_idle, App::Instance()->GetPerf().in_data_size, App::Instance()->GetPerf().out_data_size, - //App::Instance()->msgnode_size_, + App::Instance()->GetMsgNodeSize(), + App::Instance()->GetUdpMsgNodeSize(), App::Instance()->GetPerf().read_count, App::Instance()->GetPerf().max_login_time, App::Instance()->GetPerf().max_join_time, diff --git a/server/wsproxy/app.h b/server/wsproxy/app.h index 7a1fdb8..bd5ab37 100644 --- a/server/wsproxy/app.h +++ b/server/wsproxy/app.h @@ -42,6 +42,8 @@ public: int GetNodeId() { return node_id_; } int GetInstanceId() { return instance_id_; } PerfMonitor& GetPerf() { return perf_; } + int GetMsgNodeSize() { return msgnode_size_;} + int GetUdpMsgNodeSize() { return udp_msgnode_size_;} private: void QuickExecute();