1
This commit is contained in:
parent
b957ba9682
commit
f03826a582
@ -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,
|
||||
|
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user