1
This commit is contained in:
parent
84d3205dfd
commit
07906dca06
@ -2,6 +2,8 @@
|
|||||||
|
|
||||||
#include "perf.h"
|
#include "perf.h"
|
||||||
|
|
||||||
|
#include <a8/perfmonitor.h>
|
||||||
|
|
||||||
#include <f8/timer.h>
|
#include <f8/timer.h>
|
||||||
#include <f8/udplog.h>
|
#include <f8/udplog.h>
|
||||||
|
|
||||||
@ -25,7 +27,7 @@ void Perf::UnInit()
|
|||||||
void Perf::Output()
|
void Perf::Output()
|
||||||
{
|
{
|
||||||
f8::UdpLog::Instance()->Info
|
f8::UdpLog::Instance()->Info
|
||||||
("perf entity:%d buff:%d bt_co:%d agent:%d c_w_c:%d c_w:%d o_w_c:%d o_w:%d e_w_c:%d e_c:%d e_h:%d",
|
("perf entity:%d buff:%d bt_co:%d agent:%d c_w_c:%d c_w:%d o_w_c:%d o_w:%d e_w_c:%d e_c:%d e_h:%d server_send_bytes:%d server_consume_bytes:%d conn_send_bytes:%d conn_consume_bytes:%d",
|
||||||
{
|
{
|
||||||
entity_num,
|
entity_num,
|
||||||
buff_num,
|
buff_num,
|
||||||
@ -37,6 +39,10 @@ void Perf::Output()
|
|||||||
o_wptr_num,
|
o_wptr_num,
|
||||||
e_wptr_chunk_num,
|
e_wptr_chunk_num,
|
||||||
e_wptr_num,
|
e_wptr_num,
|
||||||
event_handler_num
|
event_handler_num,
|
||||||
|
(long long)a8::PerfMonitor::Instance()->server_send_bytes,
|
||||||
|
(long long)a8::PerfMonitor::Instance()->server_consume_bytes,
|
||||||
|
(long long)a8::PerfMonitor::Instance()->conn_send_bytes,
|
||||||
|
(long long)a8::PerfMonitor::Instance()->conn_consume_bytes
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user