summaryrefslogtreecommitdiff
path: root/indra/llcommon/llstat.h
diff options
context:
space:
mode:
Diffstat (limited to 'indra/llcommon/llstat.h')
-rw-r--r--indra/llcommon/llstat.h17
1 files changed, 12 insertions, 5 deletions
diff --git a/indra/llcommon/llstat.h b/indra/llcommon/llstat.h
index 66521a31cb..61aaac45bf 100644
--- a/indra/llcommon/llstat.h
+++ b/indra/llcommon/llstat.h
@@ -96,11 +96,18 @@ public:
struct Bucket
{
- F64 accum;
- U64 endTime;
-
- BOOL lastValid;
- F64 lastAccum;
+ Bucket() :
+ accum(0.0),
+ endTime(0),
+ lastValid(false),
+ lastAccum(0.0)
+ {}
+
+ F64 accum;
+ U64 endTime;
+
+ bool lastValid;
+ F64 lastAccum;
};
Bucket mBuckets[NUM_SCALES];