fix whitespace formatting

This commit is contained in:
Andrew Meadows 2014-07-09 14:33:09 -07:00
parent f463099d16
commit 63bcee0229
2 changed files with 16 additions and 16 deletions

View file

@ -90,8 +90,8 @@ PerformanceTimer::~PerformanceTimer() {
// static
void PerformanceTimer::tallyAllTimerRecords() {
QMap<QString, PerformanceTimerRecord>::iterator recordsItr = _records.begin();
QMap<QString, PerformanceTimerRecord>::const_iterator recordsEnd = _records.end();
QMap<QString, PerformanceTimerRecord>::iterator recordsItr = _records.begin();
QMap<QString, PerformanceTimerRecord>::const_iterator recordsEnd = _records.end();
quint64 now = usecTimestampNow();
while (recordsItr != recordsEnd) {
recordsItr.value().tallyResult(now);

View file

@ -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<QString, PerformanceTimerRecord> _records;
static QMap<QString, PerformanceTimerRecord> _records;
};