From f2a8b592861472bf47495c40519fdd778b420bc1 Mon Sep 17 00:00:00 2001 From: Samrat Bhattacharya Date: Mon, 28 Dec 2015 15:03:16 -0800 Subject: [PATCH] Add Notification Queue Size in verbose logs of EventBase Summary: As above Reviewed By: alandau Differential Revision: D2791829 fb-gh-sync-id: 8ae5b875464dfa910b88dc12465879a9420d398c --- folly/io/async/EventBase.cpp | 1 + 1 file changed, 1 insertion(+) 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 -- 2.34.1