]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
msg/async: add numevents statistics for external_events
authorYan Jun <yan.jun8@zte.com.cn>
Fri, 25 Mar 2016 09:34:12 +0000 (17:34 +0800)
committerYan Jun <yan.jun8@zte.com.cn>
Sat, 23 Apr 2016 07:50:35 +0000 (15:50 +0800)
Maybe we need to add the statistics for external_events.

Signed-off-by: Yan Jun <yan.jun8@zte.com.cn>
src/msg/async/Event.cc

index f242fe735d7dd37db020f02191c39f546ff54b08..0a34cfe2cbab50edbb9ed39e69a68ff7bbf3bcbd 100644 (file)
@@ -430,6 +430,7 @@ int EventCenter::process_events(int timeout_microseconds)
         if (e)
           e->do_request(0);
         cur_process.pop_front();
+        numevents++;
       }
     }
   }