diff --git a/libraries/shared/src/PerfStat.cpp b/libraries/shared/src/PerfStat.cpp index 908dca61e7..b811a719bc 100644 --- a/libraries/shared/src/PerfStat.cpp +++ b/libraries/shared/src/PerfStat.cpp @@ -90,8 +90,8 @@ PerformanceTimer::~PerformanceTimer() { // static void PerformanceTimer::tallyAllTimerRecords() { - QMap::iterator recordsItr = _records.begin(); - QMap::const_iterator recordsEnd = _records.end(); + QMap::iterator recordsItr = _records.begin(); + QMap::const_iterator recordsEnd = _records.end(); quint64 now = usecTimestampNow(); while (recordsItr != recordsEnd) { recordsItr.value().tallyResult(now); diff --git a/libraries/shared/src/PerfStat.h b/libraries/shared/src/PerfStat.h index 69bda0af5e..3cbf188c83 100644 --- a/libraries/shared/src/PerfStat.h +++ b/libraries/shared/src/PerfStat.h @@ -25,13 +25,13 @@ class PerformanceWarning { private: - quint64 _start; - const char* _message; - bool _renderWarningsOn; - bool _alwaysDisplay; - quint64* _runningTotal; - quint64* _totalCalls; - static bool _suppressShortTimings; + quint64 _start; + const char* _message; + bool _renderWarningsOn; + bool _alwaysDisplay; + quint64* _runningTotal; + quint64* _totalCalls; + static bool _suppressShortTimings; public: PerformanceWarning(bool renderWarnings, const char* message, bool alwaysDisplay = false, @@ -62,13 +62,13 @@ public: quint64 getCount() const { return _numTallies; } private: - quint64 _runningTotal; + quint64 _runningTotal; quint64 _lastTotal; quint64 _numAccumulations; - quint64 _numTallies; + quint64 _numTallies; quint64 _expiry; - SimpleMovingAverage _movingAverage; -}; + SimpleMovingAverage _movingAverage; + class PerformanceTimer { public: @@ -89,10 +89,10 @@ public: static void dumpAllTimerRecords(); private: - quint64 _start; - QString _name; + quint64 _start; + QString _name; static QString _fullName; - static QMap _records; + static QMap _records; };