From: Yan Jun Date: Fri, 25 Mar 2016 09:34:12 +0000 (+0800) Subject: msg/async: add numevents statistics for external_events X-Git-Tag: v10.2.3~136^2~8 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=79354f4223191c9d8ce6f92aaadf3481f9abf72d;p=ceph.git msg/async: add numevents statistics for external_events Maybe we need to add the statistics for external_events. Signed-off-by: Yan Jun (cherry picked from commit f08ca0a0892767a8c40e06e336297109aa6142a1) --- diff --git a/src/msg/async/Event.cc b/src/msg/async/Event.cc index f242fe735d7d..0a34cfe2cbab 100644 --- a/src/msg/async/Event.cc +++ b/src/msg/async/Event.cc @@ -430,6 +430,7 @@ int EventCenter::process_events(int timeout_microseconds) if (e) e->do_request(0); cur_process.pop_front(); + numevents++; } } }