diff options
author | Rider Linden <rider@lindenlab.com> | 2017-08-08 09:04:32 -0700 |
---|---|---|
committer | Rider Linden <rider@lindenlab.com> | 2017-08-08 09:04:32 -0700 |
commit | 1038633526330cf931ba097dbafdd270b5bb56e3 (patch) | |
tree | bf5b1a2517d31d1ed3daa9213104b36b6901f99c /indra/llcorehttp/httpstats.h | |
parent | 57d5744f2c064ccb7bf8dd3dca2a24f6755297ac (diff) |
MAINT-7634: Logging and instrumentation canges to narrow down viewer crashes.
Diffstat (limited to 'indra/llcorehttp/httpstats.h')
-rw-r--r-- | indra/llcorehttp/httpstats.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/llcorehttp/httpstats.h b/indra/llcorehttp/httpstats.h index d4460bcfae..2c713cb548 100644 --- a/indra/llcorehttp/httpstats.h +++ b/indra/llcorehttp/httpstats.h @@ -55,6 +55,8 @@ namespace LLCore mDataUp.push(bytes); } + void recordHTTPRequest() { ++mRequests; } + void recordResultCode(S32 code); void dumpStats(); @@ -62,6 +64,8 @@ namespace LLCore StatsAccumulator mDataDown; StatsAccumulator mDataUp; + S32 mRequests; + std::map<S32, S32> mResutCodes; }; |