History

more mac build busters

Brad Hefta-Gaub committed 10 years ago

Commit 5b13ebf1 parent 06a6a841 file · +3 −3Browse files

Showing the changes to interface/src/Application.cpp (1 of 1 file). Show all

Unified · Split

interface/src/Application.cpp+3−3
@@ -242,7 +242,7 @@ public: · 241 unmodified lines
242242 static const unsigned long HEARTBEAT_UPDATE_INTERVAL_SECS = 1;
243243 static const unsigned long HEARTBEAT_REPORT_INTERVAL_USECS = 5 * USECS_PER_SECOND;
244244 static const unsigned long MAX_HEARTBEAT_AGE_USECS = 30 * USECS_PER_SECOND;
245− static const uint64_t WARNING_ELAPSED_HEARTBEAT = 500 * USECS_PER_MSEC; // warn if elapsed heartbeat average is large
245+ static const int WARNING_ELAPSED_HEARTBEAT = 500 * USECS_PER_MSEC; // warn if elapsed heartbeat average is large
246246 static const int HEARTBEAT_SAMPLES = 100000; // ~5 seconds worth of samples
247247
248248 // Set the heartbeat on launch
@@ -319,7 +319,7 @@ public: · 70 unmodified lines
319319
320320 static std::atomic<uint64_t> _heartbeat;
321321 static std::atomic<uint64_t> _lastReport;
322− static std::atomic<int> _maxElapsed;
322+ static std::atomic<uint64_t> _maxElapsed;
323323 static std::atomic<int> _maxElapsedAverage;
324324 bool _quit { false };
325325 ThreadSafeMovingAverage<int, HEARTBEAT_SAMPLES> _movingAverage;
@@ -327,7 +327,7 @@ public: · 1 unmodified line
327327
328328 std::atomic<uint64_t> DeadlockWatchdogThread::_heartbeat;
329329 std::atomic<uint64_t> DeadlockWatchdogThread::_lastReport;
330−std::atomic<int> DeadlockWatchdogThread::_maxElapsed;
330+std::atomic<uint64_t> DeadlockWatchdogThread::_maxElapsed;
331331 std::atomic<int> DeadlockWatchdogThread::_maxElapsedAverage;
332332
333333 #ifdef Q_OS_WIN

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t