From 8934f2281896ceade3c25bf9a1b7263578529672 Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Mon, 3 Jun 2019 19:52:46 +0800 Subject: [PATCH] 1 --- server/gameserver/app.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/server/gameserver/app.cc b/server/gameserver/app.cc index 08b5215..7b9061f 100755 --- a/server/gameserver/app.cc +++ b/server/gameserver/app.cc @@ -59,13 +59,14 @@ static void SavePerfLog() RoomMgr::Instance()->RoomNum() }); if (App::Instance()->HasFlag(4)) { - a8::XPrintf("mainloop_time:%d netmsg_time:%d room:%d over_room:%d online:%d\n", + a8::XPrintf("mainloop_time:%d netmsg_time:%d room:%d over_room:%d online:%d bullet:%d\n", { App::Instance()->perf.max_run_delay_time, App::Instance()->perf.max_dispatchmsg_time, RoomMgr::Instance()->RoomNum(), RoomMgr::Instance()->OverRoomNum(), - PlayerMgr::Instance()->OnlineNum() + PlayerMgr::Instance()->OnlineNum(), + App::Instance()->perf.entity_num[ET_Bullet] }); } App::Instance()->perf.max_run_delay_time = 0;