/vbox/src/VBox/Runtime/r0drv/freebsd/ |
H A D | sleepqueue-r0drv-freebsd.h | 124 uint64_t u64Now; 130 u64Now = RTTimeSystemNanoTS(); 131 if (u64Now + uTimeout < u64Now) /* overflow */ 134 pWait->uNsAbsTimeout = u64Now + uTimeout; 138 u64Now = RTTimeSystemNanoTS(); 139 if (u64Now >= uTimeout) 143 uTimeout -= u64Now; /* Get a relative value. */ 232 uint64_t u64Now = RTTimeSystemNanoTS(); 233 if (u64Now > [all...] |
/vbox/src/VBox/Runtime/os2/ |
H A D | rtSemWaitOs2ConvertTimeout.cpp | 84 uint64_t u64Now = RTTimeSystemNanoTS(); local 85 if (u64Now >= uTimeout) 87 uTimeout = uTimeout - u64Now;
|
/vbox/src/VBox/Runtime/r0drv/linux/ |
H A D | waitqueue-r0drv-linux.h | 110 uint64_t u64Now; 116 u64Now = RTTimeSystemNanoTS(); 118 pWait->uNsAbsTimeout = u64Now + uTimeout; 119 if (pWait->uNsAbsTimeout < u64Now) /* overflow */ 124 u64Now = RTTimeSystemNanoTS(); 125 if (u64Now >= uTimeout) 128 pWait->cNsRelTimeout = uTimeout - u64Now;
|
H A D | timer-r0drv-linux.c | 193 uint64_t u64Now; member in struct:RTTIMERLINUXSTARTONCPUARGS 332 * @param u64Now The current timestamp (RTTimeSystemNanoTS()). 333 * @param u64First The interval from u64Now to the first time the timer should fire. 339 static void rtTimerLnxStartSubTimer(PRTTIMERLNXSUBTIMER pSubTimer, uint64_t u64Now, uint64_t u64First, argument 345 uint64_t u64NextTS = u64Now + u64First; 887 rtTimerLnxStartSubTimer(&pTimer->aSubTimers[idCpu], pArgs->u64Now, pArgs->u64First, true /*fPinned*/, pTimer->fHighRes); 942 pArgs->u64Now = RTTimeSystemNanoTS(); 1064 rtTimerLnxStartSubTimer(pSubTimer, pArgs->u64Now, pArgs->u64First, true /*fPinned*/, pTimer->fHighRes); 1112 Args.u64Now = RTTimeSystemNanoTS(); 1116 rtTimerLnxStartSubTimer(pSubTimer, Args.u64Now, Arg [all...] |
/vbox/src/VBox/Runtime/testcase/ |
H A D | tstRTThreadExecutionTime.cpp | 48 uint64_t u64Now = RTTimeMilliTS(); local 51 while (RTTimeMilliTS() < u64Now + 1000)
|
H A D | tstTimer.cpp | 56 const uint64_t u64Now = RTTimeNanoTS(); local 59 const uint64_t u64Delta = u64Now - gu64Prev; 69 gu64Prev = u64Now;
|
H A D | tstTimerLR.cpp | 52 const uint64_t u64Now = RTTimeNanoTS(); local 55 const uint64_t u64Delta = u64Now - gu64Prev; 61 gu64Prev = u64Now;
|
/vbox/src/VBox/Runtime/r0drv/darwin/ |
H A D | semevent-r0drv-darwin.cpp | 269 uint64_t u64Now; 274 u64Now = RTTimeSystemNanoTS(); 275 uNsAbsTimeout = u64Now + uTimeout; 276 if (uNsAbsTimeout < u64Now) /* overflow */ 283 u64Now = RTTimeSystemNanoTS(); 284 uTimeout = u64Now < uTimeout ? uTimeout - u64Now : 0;
|
H A D | semeventmulti-r0drv-darwin.cpp | 289 uint64_t u64Now; 294 u64Now = RTTimeSystemNanoTS(); 295 uNsAbsTimeout = u64Now + uTimeout; 296 if (uNsAbsTimeout < u64Now) /* overflow */ 303 u64Now = RTTimeSystemNanoTS(); 304 uTimeout = u64Now < uTimeout ? uTimeout - u64Now : 0;
|
/vbox/src/VBox/Runtime/r0drv/solaris/ |
H A D | semeventwait-r0drv-solaris.h | 120 uint64_t u64Now; 126 u64Now = RTTimeSystemNanoTS(); 128 pWait->uNsAbsTimeout = u64Now + uTimeout; 129 if (pWait->uNsAbsTimeout < u64Now) /* overflow */ 134 u64Now = RTTimeSystemNanoTS(); 135 if (u64Now >= uTimeout) 138 pWait->cNsRelTimeout = uTimeout - u64Now;
|
H A D | timer-r0drv-solaris.c | 343 uint64_t u64Now = RTTimeSystemNanoTS(); local 344 if (pTimer->u.Omni.u64When < u64Now) 345 pCyclicTime->cyt_when = u64Now + pTimer->cNsInterval / 2;
|
/vbox/src/VBox/VMM/VMMAll/ |
H A D | TMAllCpu.cpp | 279 uint64_t u64Now = tmCpuTickGetRawVirtual(pVM, false /* don't check for pending timers */) local 285 if (u64Now >= pVCpu->tm.s.u64TSCLastSeen) 287 *poffRealTsc = u64Now - ASMReadTSC(); 378 uint64_t u64Now = u64NowVirtSync != TMCLOCK_FREQ_VIRTUAL /* what's the use of this? */ local 381 u64Now -= pVCpu->tm.s.offTSCRawSrc; 382 *poffRealTsc = u64Now - ASMReadTSC(); 383 *pfOffsettedTsc = u64Now >= pVCpu->tm.s.u64TSCLastSeen;
|
H A D | TMAll.cpp | 674 * @param u64Now Current virtual clock timestamp. 680 DECLINLINE(uint64_t) tmTimerPollReturnMiss(PVM pVM, uint64_t u64Now, uint64_t u64Delta, uint64_t *pu64Delta) argument 687 return u64Delta + u64Now + pVM->tm.s.u64VirtualOffset; 696 uint64_t u64GipTime = u64Delta + u64Now + pVM->tm.s.u64VirtualOffset; 721 * @param u64Now Current virtual clock timestamp. 724 DECL_FORCE_INLINE(uint64_t) tmTimerPollReturnOtherCpu(PVM pVM, uint64_t u64Now, uint64_t *pu64Delta) argument 728 return u64Now + pVM->tm.s.u64VirtualOffset + s_u64OtherRet; 741 * @param u64Now Current virtual clock timestamp. 745 DECL_FORCE_INLINE(uint64_t) tmTimerPollReturnHit(PVM pVM, PVMCPU pVCpu, PVMCPU pVCpuDst, uint64_t u64Now, argument 750 return tmTimerPollReturnOtherCpu(pVM, u64Now, pu64Delt 774 const uint64_t u64Now = TMVirtualGetNoCheck(pVM); local 1390 uint64_t u64Now; local [all...] |
/vbox/src/VBox/Devices/Network/ |
H A D | DrvUDPTunnel.cpp | 207 uint64_t u64Now = RTTimeProgramNanoTS(); local 209 pSgBuf->cbUsed, u64Now, u64Now - pThis->u64LastReceiveTS, u64Now - pThis->u64LastTransferTS)); 210 pThis->u64LastTransferTS = u64Now; 346 uint64_t u64Now = RTTimeProgramNanoTS(); local 348 cbRead, u64Now, u64Now - pThis->u64LastReceiveTS, u64Now - pThis->u64LastTransferTS)); 349 pThis->u64LastReceiveTS = u64Now; [all...] |
H A D | DrvVDE.cpp | 216 uint64_t u64Now = RTTimeProgramNanoTS(); local 218 pSgBuf->cbUsed, u64Now, u64Now - pThis->u64LastReceiveTS, u64Now - pThis->u64LastTransferTS)); 219 pThis->u64LastTransferTS = u64Now; 376 uint64_t u64Now = RTTimeProgramNanoTS(); local 378 cbRead, u64Now, u64Now - pThis->u64LastReceiveTS, u64Now - pThis->u64LastTransferTS)); 379 pThis->u64LastReceiveTS = u64Now; [all...] |
H A D | DrvTAP.cpp | 247 uint64_t u64Now = RTTimeProgramNanoTS(); local 249 pSgBuf->cbUsed, u64Now, u64Now - pThis->u64LastReceiveTS, u64Now - pThis->u64LastTransferTS)); 250 pThis->u64LastTransferTS = u64Now; 405 uint64_t u64Now = RTTimeProgramNanoTS(); local 407 cbRead, u64Now, u64Now - pThis->u64LastReceiveTS, u64Now - pThis->u64LastTransferTS)); 408 pThis->u64LastReceiveTS = u64Now; [all...] |
H A D | DrvIntNet.cpp | 725 uint64_t u64Now = RTTimeProgramNanoTS(); local 727 cbFrame, u64Now, u64Now - pThis->u64LastReceiveTS, u64Now - pThis->u64LastTransferTS)); 728 pThis->u64LastReceiveTS = u64Now; 767 uint64_t u64Now = RTTimeProgramNanoTS(); local 769 cbFrame, u64Now, u64Now - pThis->u64LastReceiveTS, u64Now - pThis->u64LastTransferTS, cSegs)); 770 pThis->u64LastReceiveTS = u64Now; [all...] |
/vbox/src/VBox/Runtime/generic/ |
H A D | timerlr-generic.cpp | 259 uint64_t u64Now = RTTimeNanoTS(); local 261 ASMAtomicWriteU64(&pThis->u64StartTS, u64Now); 262 ASMAtomicWriteU64(&pThis->u64NextTS, u64Now);
|
/vbox/src/VBox/Runtime/r0drv/nt/ |
H A D | semevent-r0drv-nt.cpp | 197 uint64_t u64Now = RTTimeSystemNanoTS(); 198 uTimeout = u64Now < uTimeout 199 ? uTimeout - u64Now
|
H A D | semeventmulti-r0drv-nt.cpp | 220 uint64_t u64Now = RTTimeSystemNanoTS(); 221 uTimeout = u64Now < uTimeout 222 ? uTimeout - u64Now
|
/vbox/src/VBox/Runtime/r3/linux/ |
H A D | semeventmulti-linux.cpp | 292 uint64_t u64Now = RTTimeSystemNanoTS(); 293 if (uTimeout <= u64Now) 296 uTimeout -= u64Now;
|
/vbox/src/VBox/Runtime/r3/win/ |
H A D | semeventmulti-win.cpp | 260 uint64_t u64Now = RTTimeSystemMilliTS(); 261 if (u64Now < uTimeout) 262 uTimeout -= u64Now;
|
/vbox/src/VBox/VMM/VMMR3/ |
H A D | VMEmt.cpp | 318 static DECLCALLBACK(int) vmR3HaltOldDoHalt(PUVMCPU pUVCpu, const uint32_t fMask, uint64_t /* u64Now*/) 477 static DECLCALLBACK(int) vmR3HaltMethod1Halt(PUVMCPU pUVCpu, const uint32_t fMask, uint64_t u64Now) argument 500 fBlockOnce = u64Now - pUVCpu->vm.s.Halt.Method12.u64LastBlockTS 507 //RTLogRelPrintf("Stopped spinning (%u ms)\n", (u64Now - pUVCpu->vm.s.Halt.Method12.u64StartSpinTS) / 1000000); 515 pUVCpu->vm.s.Halt.Method12.u64StartSpinTS = u64Now; 520 //RTLogRelPrintf("Stopped spinning (%u ms)\n", (u64Now - pUVCpu->vm.s.Halt.Method12.u64StartSpinTS) / 1000000); 614 //if (fSpinning) RTLogRelPrintf("spun for %RU64 ns %u loops; lag=%RU64 pct=%d\n", RTTimeNanoTS() - u64Now, cLoops, TMVirtualSyncGetLag(pVM), u32CatchUpPct); 663 static DECLCALLBACK(int) vmR3HaltGlobal1Halt(PUVMCPU pUVCpu, const uint32_t fMask, uint64_t u64Now) argument 669 NOREF(u64Now); 980 DECLR3CALLBACKMEMBER(int, pfnHalt,(PUVMCPU pUVCpu, const uint32_t fMask, uint64_t u64Now)); 1080 uint64_t u64Now = RTTimeNanoTS(); local [all...] |
H A D | TM.cpp | 1928 uint64_t u64Now = TMVirtualGetNoCheck(pVM); local 1929 if (pVM->tm.s.CTX_SUFF(paTimerQueues)[TMCLOCK_VIRTUAL].u64Expire <= u64Now) 1931 u64Now = pVM->tm.s.fVirtualSyncTicking 1932 ? u64Now - pVM->tm.s.offVirtualSync 1934 if (pVM->tm.s.CTX_SUFF(paTimerQueues)[TMCLOCK_VIRTUAL_SYNC].u64Expire <= u64Now) 2105 const uint64_t u64Now = tmClock(pVM, pQueue->enmClock); local 2106 while (pNext && pNext->u64Expire <= u64Now) 2114 pTimer, tmTimerState(pTimer->enmState), pTimer->enmClock, pTimer->enmType, pTimer->u64Expire, u64Now, pTimer->pszDesc)); 2203 uint64_t u64Now; local 2207 u64Now [all...] |
/vbox/src/VBox/HostServices/SharedOpenGL/crserver/ |
H A D | crservice.cpp | 836 static void crScreenshotHandle(CRVBOXHGCMTAKESCREENSHOT *pScreenshot, uint32_t idScreen, uint64_t u64Now) argument 838 if (!pScreenshot->pfnScreenshotBegin || pScreenshot->pfnScreenshotBegin(pScreenshot->pvContext, idScreen, u64Now)) 849 (uint8_t*)Screenshot.Img.pvData, u64Now); 858 pScreenshot->pfnScreenshotEnd(pScreenshot->pvContext, idScreen, u64Now); 1146 uint64_t u64Now = RTTimeProgramMilliTS(); local 1152 crScreenshotHandle(pScreenshot, i, u64Now); 1157 crScreenshotHandle(pScreenshot, pScreenshot->u32Screen, u64Now);
|