projects
/
folly.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
396329d
)
Add Notification Queue Size in verbose logs of EventBase
author
Samrat Bhattacharya
<samratb@fb.com>
Mon, 28 Dec 2015 23:03:16 +0000
(15:03 -0800)
committer
facebook-github-bot-0
<folly-bot@fb.com>
Mon, 28 Dec 2015 23:20:23 +0000
(15:20 -0800)
Summary: As above
Reviewed By: alandau
Differential Revision:
D2791829
fb-gh-sync-id:
8ae5b875464dfa910b88dc12465879a9420d398c
folly/io/async/EventBase.cpp
patch
|
blob
|
history
diff --git
a/folly/io/async/EventBase.cpp
b/folly/io/async/EventBase.cpp
index 15a37237ccbffa135d8fb611ca60713ced51189b..abd93dc16ae888cec394b25f4d7b5d678caae7fd 100644
(file)
--- 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