From: Samrat Bhattacharya Date: Mon, 28 Dec 2015 23:03:16 +0000 (-0800) Subject: Add Notification Queue Size in verbose logs of EventBase X-Git-Tag: deprecate-dynamic-initializer~172 X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=f2a8b592861472bf47495c40519fdd778b420bc1;p=folly.git Add Notification Queue Size in verbose logs of EventBase Summary: As above Reviewed By: alandau Differential Revision: D2791829 fb-gh-sync-id: 8ae5b875464dfa910b88dc12465879a9420d398c --- diff --git a/folly/io/async/EventBase.cpp b/folly/io/async/EventBase.cpp index 15a37237..abd93dc1 100644 --- a/folly/io/async/EventBase.cpp +++ b/folly/io/async/EventBase.cpp @@ -374,6 +374,7 @@ bool EventBase::loopBody(int flags) { " avgLoopTime: " << avgLoopTime_.get() << " maxLatencyLoopTime: " << maxLatencyLoopTime_.get() << " maxLatency_: " << maxLatency_ << + " notificationQueueSize: " << getNotificationQueueSize() << " nothingHandledYet(): "<< nothingHandledYet(); // see if our average loop time has exceeded our limit