/reactos/base/shell/cmd/ |
H A D | timer.c | 20 #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 D | choice.c | 264 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 D | comm.c | 780 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 D | GetMessageTime.c | 50 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 D | screensaver.c | 117 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 D | time.c | 86 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 D | control.c | 88 StartTickCount = GetTickCount(); in DoControlService() 127 StartTickCount = GetTickCount(); in DoControlService() 134 if (GetTickCount() >= StartTickCount + MaxWait) in DoControlService()
|
H A D | start.c | 144 StartTickCount = GetTickCount(); in DoStartService() 185 StartTickCount = GetTickCount(); in DoStartService() 191 if (GetTickCount() >= StartTickCount + MaxWait) in DoStartService()
|
H A D | stop.c | 52 StartTime = GetTickCount(); in DoStopService() 93 if (GetTickCount() - StartTime > Timeout) in DoStopService()
|
/reactos/base/applications/cmdutils/timeout/ |
H A D | timeout.c | 82 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 D | NtUserSetTimer.c | 84 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 D | nbnamecache.c | 82 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 D | Defragment.cpp | 91 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 D | device.c | 283 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 D | diskspeed.c | 147 Start = GetTickCount() + 2000; in main() 148 while (Start > GetTickCount()) in main()
|
/reactos/base/services/shsvcs/ |
H A D | thmserver.c | 132 DWORD start_time = GetTickCount(); in ThemeWaitForServiceReady() 165 if (GetTickCount() - start_time > dwTimeout) in ThemeWaitForServiceReady()
|
/reactos/subsystems/mvdm/ntvdm/hardware/sound/ |
H A D | speaker.c | 105 PulseTickCount = GetTickCount(); in PulseSample() 248 if (GetTickCount() - PulseTickCount >= SPEAKER_RESPONSE + (SPEAKER_RESPONSE >> 3)) in SpeakerChange()
|
/reactos/modules/rostests/winetests/comctl32/ |
H A D | animate.c | 43 DWORD time = GetTickCount() + diff; in flush_events() 49 diff = time - GetTickCount(); in flush_events()
|
H A D | static.c | 47 DWORD time = GetTickCount() + diff; in flush_events() 53 diff = time - GetTickCount(); in flush_events()
|
/reactos/subsystems/mvdm/ntvdm/ |
H A D | clock.c | 87 CurrentTickCount = GetTickCount(); in ClockUpdate() 175 Timer->LastTick.LowPart = GetTickCount(); in EnableHardwareTimer()
|
/reactos/modules/rostests/winetests/user32/ |
H A D | static.c | 45 DWORD time = GetTickCount() + diff; in flush_events() 51 diff = time - GetTickCount(); in flush_events()
|
/reactos/dll/win32/mshtml/ |
H A D | task.c | 124 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 D | cylfrac.c | 159 oldticks = GetTickCount(); in ScreenSaverProc() 167 oldticks = GetTickCount(); in ScreenSaverProc()
|
/reactos/base/applications/screensavers/3dtext/ |
H A D | 3dtext.c | 254 rot += (GetTickCount() - dwTicks) / 20.0f; in DrawGLScene() 255 dwTicks = GetTickCount(); in DrawGLScene()
|
/reactos/modules/rosapps/applications/net/ncftp/libncftp/ |
H A D | util.c | 636 now = GetTickCount(); in WinSleep() 643 now = GetTickCount(); in WinSleep() 651 now = GetTickCount(); in WinSleep() 658 now = GetTickCount(); in WinSleep()
|