diff options
| author | Don Kjer <don@lindenlab.com> | 2008-10-09 18:07:46 +0000 |
|---|---|---|
| committer | Don Kjer <don@lindenlab.com> | 2008-10-09 18:07:46 +0000 |
| commit | 4ff16b735f59326514ad92ec38e3261cd996e05c (patch) | |
| tree | 170416c912dc272e7e171f156494946e05444e55 /indra/llmessage/llpumpio.cpp | |
| parent | b807e3df990e6fad25cd0bca94d2959dac042b13 (diff) | |
QAR-907: svn merge -r 98908:98910 svn+ssh://svn/svn/linden/qa/sim-metrics/sim-metrics2-release-merge-98903 into release
Diffstat (limited to 'indra/llmessage/llpumpio.cpp')
| -rw-r--r-- | indra/llmessage/llpumpio.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/indra/llmessage/llpumpio.cpp b/indra/llmessage/llpumpio.cpp index 284a7141d0..39e9a8b952 100644 --- a/indra/llmessage/llpumpio.cpp +++ b/indra/llmessage/llpumpio.cpp @@ -41,6 +41,7 @@ #include "llapr.h" #include "llmemtype.h" #include "llstl.h" +#include "llstat.h" // These should not be enabled in production, but they can be // intensely useful during development for finding certain kinds of @@ -521,7 +522,10 @@ void LLPumpIO::pump(const S32& poll_timeout) //llinfos << "polling" << llendl; S32 count = 0; S32 client_id = 0; - apr_pollset_poll(mPollset, poll_timeout, &count, &poll_fd); + { + LLPerfBlock polltime("pump_poll"); + apr_pollset_poll(mPollset, poll_timeout, &count, &poll_fd); + } PUMP_DEBUG; for(S32 ii = 0; ii < count; ++ii) { |
