mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-04 00:33:11 +02:00
fix whitespace formatting
This commit is contained in:
parent
f463099d16
commit
63bcee0229
2 changed files with 16 additions and 16 deletions
|
@ -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);
|
||||
|
|
|
@ -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;
|
||||
};
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue