diff options
author | Rider Linden <rider@lindenlab.com> | 2017-07-28 14:07:25 -0700 |
---|---|---|
committer | Rider Linden <rider@lindenlab.com> | 2017-07-28 14:07:25 -0700 |
commit | 57d5744f2c064ccb7bf8dd3dca2a24f6755297ac (patch) | |
tree | cef79679961afaf2ef43f21c6f4901ed3f536fb0 /indra/llcorehttp/httprequest.h | |
parent | b46697fcc155d026b5a951256d53581e7af20036 (diff) |
MAINT-7634: Move StatsAccumulator into llcommon, collect data sent and error codes from core.
Diffstat (limited to 'indra/llcorehttp/httprequest.h')
-rw-r--r-- | indra/llcorehttp/httprequest.h | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/indra/llcorehttp/httprequest.h b/indra/llcorehttp/httprequest.h index 17cfdcd7b6..c958132ae2 100644 --- a/indra/llcorehttp/httprequest.h +++ b/indra/llcorehttp/httprequest.h @@ -680,7 +680,20 @@ private: /// @} // End Global State // ==================================== - + + struct Statistics + { + Statistics(): + mTotalRequests(0), + mCurrentRequests(0) + {} + + S32 mTotalRequests; + S32 mCurrentRequests; + }; + + static Statistics mStatistics; + }; // end class HttpRequest |