From cd6c3de96c917d5cc7603e609613531ec93ef339 Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Wed, 29 May 2024 11:14:11 +0800 Subject: [PATCH] 1 --- f8/app.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/f8/app.cc b/f8/app.cc index 619ce03..422041b 100644 --- a/f8/app.cc +++ b/f8/app.cc @@ -7,6 +7,7 @@ #include #include +#include #include #include @@ -48,6 +49,7 @@ namespace f8 loop_cond_ = new std::condition_variable(); uuid_->SetMachineId((node_id_ - 1) * MAX_NODE_ID + instance_id_); + a8::PerfMonitor::Instance()->Init(); InitLog(); f8::MsgQueue::Instance()->Init(); f8::Timer::Instance()->Init(); @@ -65,6 +67,7 @@ namespace f8 f8::Timer::Instance()->UnInit(); f8::MsgQueue::Instance()->UnInit(); UnInitLog(); + a8::PerfMonitor::Instance()->Init(); delete loop_cond_; loop_cond_ = nullptr;