| 146 | } |
| 147 | |
| 148 | void Clock::adjustTime(double timeAdjustment) { |
| 149 | RecursiveMutexLocker locker(m_mutex); |
| 150 | setTime(max<double>(0.0, time() + timeAdjustment)); |
| 151 | } |
| 152 | |
| 153 | void Clock::adjustMilliseconds(int64_t millisAdjustment) { |
| 154 | RecursiveMutexLocker locker(m_mutex); |