Search the Community
Showing results for tags '_timer_diff()'.
Found 1 result
Greetings, All of the sudden my TimerDiff() or _Timer_Diff() functions return only roughly half of the elapsed time: #include <Date.au3> ConsoleWrite(_NowTime() & @TAB & "Begin..." & @CRLF) $TestTimer = TimerInit() $StartDate = _NowCalc() Sleep(4000) $sElapsed = _DateDiff('s', $StartDate, _NowCalc()) ConsoleWrite(_NowTime() & @TAB & TimerDiff($TestTimer) & @TAB & $sElapsed & @CRLF) Console output: It was all working fine on this machine the past few weeks (i7 6700K, Win7 x64). Does anyone have an idea how this can be possible? Thanks! Update: Restarting Windows solved the issue but I still would love to know how this can happen. Console output after Windows restart: