Kaydet (Commit) b27035fb authored tarafından Tor Lillqvist's avatar Tor Lillqvist

At least tell by how many ticks we are too early

Change-Id: I71a822495c8a41cf01efe611911afcafea81118d
üst 1408fded
...@@ -347,7 +347,7 @@ bool Scheduler::ProcessTaskScheduling() ...@@ -347,7 +347,7 @@ bool Scheduler::ProcessTaskScheduling()
sal_uInt64 nTime = tools::Time::GetSystemTicks(); sal_uInt64 nTime = tools::Time::GetSystemTicks();
if ( nTime < rSchedCtx.mnTimerStart + rSchedCtx.mnTimerPeriod ) if ( nTime < rSchedCtx.mnTimerStart + rSchedCtx.mnTimerPeriod )
{ {
SAL_WARN( "vcl.schedule", "we're too early - restart the timer!" ); SAL_WARN( "vcl.schedule", "we're too early by " << (rSchedCtx.mnTimerStart + rSchedCtx.mnTimerPeriod - nTime) << " ticks, restart the timer" );
UpdateSystemTimer( rSchedCtx, UpdateSystemTimer( rSchedCtx,
rSchedCtx.mnTimerStart + rSchedCtx.mnTimerPeriod - nTime, rSchedCtx.mnTimerStart + rSchedCtx.mnTimerPeriod - nTime,
true, nTime ); true, nTime );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment