Home
last modified time | relevance | path

Searched refs:GetTickCount (Results 1 – 25 of 133) sorted by relevance

123456

/reactos/base/shell/cmd/
H A Dtimer.c20 #define PT(format) PrintElapsedTime(GetTickCount()-cT,format)
148 cT=GetTickCount(); in CommandTimer()
163 PrintElapsedTime(GetTickCount()-cT, iFormat); in CommandTimer()
168 cT=GetTickCount(); in CommandTimer()
183 PrintElapsedTime(GetTickCount()-cT, iFormat); in CommandTimer()
188 cT=GetTickCount(); in CommandTimer()
204 PrintElapsedTime(GetTickCount()-cT, iFormat); in CommandTimer()
H A Dchoice.c264 clk = GetTickCount (); in CommandChoice()
268 GCret = GetCharacterTimeout (&Ch, amount - (GetTickCount () - clk)); in CommandChoice()
274 TRACE ("elapsed %d msecs\n", GetTickCount () - clk); in CommandChoice()
279 TRACE ("elapsed %d msecs\n", GetTickCount () - clk); in CommandChoice()
284 TRACE ("elapsed %d msecs\n", GetTickCount () - clk); in CommandChoice()
296 GetTickCount () - clk); in CommandChoice()
/reactos/modules/rostests/winetests/kernel32/
H A Dcomm.c780 after = GetTickCount(); in test_ReadTimeOut()
842 after = GetTickCount(); in test_waittxempty()
858 after = GetTickCount(); in test_waittxempty()
881 after = GetTickCount(); in test_waittxempty()
1056 after = GetTickCount(); in test_LoopbackRead()
1096 after = GetTickCount(); in test_LoopbackRead()
1355 after = GetTickCount(); in test_WaitRx()
1476 after = GetTickCount(); in test_WaitCts()
1571 after = GetTickCount(); in test_AbortWaitCts()
1642 after = GetTickCount(); in test_WaitDsr()
[all …]
/reactos/modules/rostests/apitests/user32/
H A DGetMessageTime.c50 ok(GetTickCount() - (DWORD)GetMessageTime() < TIMER_INTERVAL / 2, in WindowProc()
73 ok(GetTickCount() - (DWORD)GetMessageTime() < TIMER_INTERVAL / 2, in WindowProc()
82 ok(GetTickCount() - (DWORD)GetMessageTime() < TIMER_INTERVAL / 2, in WindowProc()
91 ok(GetTickCount() - (DWORD)GetMessageTime() < TIMER_INTERVAL / 2, in WindowProc()
/reactos/base/system/winlogon/
H A Dscreensaver.c117 InterlockedExchange((LONG*)&Session->LastActivity, GetTickCount()); in ScreenSaverThreadMain()
126 TimeToWait = Timeout - (GetTickCount() - LastActivity); in ScreenSaverThreadMain()
129 TimeToWait = Timeout - (GetTickCount() - lastInputInfo.dwTime); in ScreenSaverThreadMain()
153 if (LastActivity + Timeout > GetTickCount()) in ScreenSaverThreadMain()
162 if (lastInputInfo.dwTime + Timeout > GetTickCount()) in ScreenSaverThreadMain()
388 InterlockedExchange((LONG*)&Session->LastActivity, GetTickCount()); in StartScreenSaver()
/reactos/dll/win32/winmm/
H A Dtime.c86 lpTimer->dwTriggerTime, GetTickCount() - lpTimer->dwTriggerTime); in TIME_TriggerCallBack()
145 cur_time = GetTickCount(); in TIME_MMSysTimeCallback()
209 adjust_time = GetTickCount() - cur_time; in TIME_MMSysTimeCallback()
296 lpTime->u.ms = GetTickCount(); in timeGetSystemTime()
325 lpNewTimer->dwTriggerTime = GetTickCount() + wDelay; in TIME_SetEventInternal()
485 return GetTickCount(); in timeGetTime()
/reactos/base/applications/mscutils/servman/
H A Dcontrol.c88 StartTickCount = GetTickCount(); in DoControlService()
127 StartTickCount = GetTickCount(); in DoControlService()
134 if (GetTickCount() >= StartTickCount + MaxWait) in DoControlService()
H A Dstart.c144 StartTickCount = GetTickCount(); in DoStartService()
185 StartTickCount = GetTickCount(); in DoStartService()
191 if (GetTickCount() >= StartTickCount + MaxWait) in DoStartService()
H A Dstop.c52 StartTime = GetTickCount(); in DoStopService()
93 if (GetTickCount() - StartTime > Timeout) in DoStopService()
/reactos/base/applications/cmdutils/timeout/
H A Dtimeout.c82 dwStartTime = GetTickCount(); in InputWait()
118 timeElapsed = GetTickCount() - dwStartTime; in InputWait()
155 timeElapsed = GetTickCount() - dwStartTime; in InputWait()
195 timeElapsed = GetTickCount() - dwStartTime; in InputWait()
/reactos/modules/rostests/apitests/win32nt/ntuser/
H A DNtUserSetTimer.c84 startTime = GetTickCount(); in test1()
91 if (GetTickCount() - startTime >= SLEEP_TIME) in test1()
172 startTime = GetTickCount(); in testW1()
179 if (GetTickCount() - startTime >= SLEEP_TIME) in testW1()
/reactos/dll/win32/netapi32/
H A Dnbnamecache.c82 if (GetTickCount() > (*ptr)->expireTime) in NBNameCacheWalk()
123 (*node)->expireTime = GetTickCount() + in NBNameCacheAddEntry()
134 newNode->expireTime = GetTickCount() + in NBNameCacheAddEntry()
/reactos/modules/rosapps/applications/fraginator/
H A DDefragment.cpp91 LastBMPUpdate = GetTickCount (); in Defragment()
178 LastBMPUpdate = GetTickCount (); in Start()
371 if ((GetTickCount() - LastBMPUpdate) < 15000) in Start()
385 LastBMPUpdate = GetTickCount (); in Start()
/reactos/modules/rostests/winetests/hid/
H A Ddevice.c283 tick = GetTickCount(); in test_read_device()
291 spent = GetTickCount() - tick; in test_read_device()
296 spent = GetTickCount() - tick; in test_read_device()
363 tick = GetTickCount(); in test_get_input_report()
371 spent = GetTickCount() - tick; in test_get_input_report()
/reactos/modules/rostests/tests/diskspeed/
H A Ddiskspeed.c147 Start = GetTickCount() + 2000; in main()
148 while (Start > GetTickCount()) in main()
/reactos/base/services/shsvcs/
H A Dthmserver.c132 DWORD start_time = GetTickCount(); in ThemeWaitForServiceReady()
165 if (GetTickCount() - start_time > dwTimeout) in ThemeWaitForServiceReady()
/reactos/subsystems/mvdm/ntvdm/hardware/sound/
H A Dspeaker.c105 PulseTickCount = GetTickCount(); in PulseSample()
248 if (GetTickCount() - PulseTickCount >= SPEAKER_RESPONSE + (SPEAKER_RESPONSE >> 3)) in SpeakerChange()
/reactos/modules/rostests/winetests/comctl32/
H A Danimate.c43 DWORD time = GetTickCount() + diff; in flush_events()
49 diff = time - GetTickCount(); in flush_events()
H A Dstatic.c47 DWORD time = GetTickCount() + diff; in flush_events()
53 diff = time - GetTickCount(); in flush_events()
/reactos/subsystems/mvdm/ntvdm/
H A Dclock.c87 CurrentTickCount = GetTickCount(); in ClockUpdate()
175 Timer->LastTick.LowPart = GetTickCount(); in EnableHardwareTimer()
/reactos/modules/rostests/winetests/user32/
H A Dstatic.c45 DWORD time = GetTickCount() + diff; in flush_events()
51 diff = time - GetTickCount(); in flush_events()
/reactos/dll/win32/mshtml/
H A Dtask.c124 DWORD tc = GetTickCount(); in remove_target_tasks()
173 DWORD tc = GetTickCount(); in set_task_timer()
259 tc = GetTickCount(); in process_timer()
/reactos/modules/rosapps/applications/screensavers/cylfrac/
H A Dcylfrac.c159 oldticks = GetTickCount(); in ScreenSaverProc()
167 oldticks = GetTickCount(); in ScreenSaverProc()
/reactos/base/applications/screensavers/3dtext/
H A D3dtext.c254 rot += (GetTickCount() - dwTicks) / 20.0f; in DrawGLScene()
255 dwTicks = GetTickCount(); in DrawGLScene()
/reactos/modules/rosapps/applications/net/ncftp/libncftp/
H A Dutil.c636 now = GetTickCount(); in WinSleep()
643 now = GetTickCount(); in WinSleep()
651 now = GetTickCount(); in WinSleep()
658 now = GetTickCount(); in WinSleep()

123456