Searched defs:ticks (Results 1 - 25 of 69) sorted by relevance

123

/vbox/src/VBox/Devices/PC/ipxe/src/arch/i386/interface/pcbios/
H A Dbios_timer.c32 * Get current system time in ticks
34 * @ret ticks Current time, in ticks
37 * (ticks today) and byte 0040:0070 (midnight crossover flag) instead
42 uint32_t ticks; local
51 get_real ( ticks, BDA_SEG, 0x006c );
60 return ( days + ticks );
/vbox/src/VBox/Devices/PC/ipxe/src/arch/i386/include/ipxe/
H A Drdtsc_timer.h25 * Get current system time in ticks
27 * @ret ticks Current time, in ticks
31 unsigned long ticks; local
35 : "=a" ( ticks ) : "i" ( TSC_SHIFT ) : "edx" );
36 return ticks;
/vbox/src/VBox/Devices/PC/ipxe/src/interface/linux/
H A Dlinux_timer.c42 * Get number of ticks per second
44 * @ret ticks_per_sec Number of ticks per second
52 * Get current system time in ticks
57 * @ret ticks Current time, in ticks
72 unsigned long ticks = (now.tv_sec - start.tv_sec) * linux_ticks_per_sec(); local
73 ticks += (now.tv_usec - start.tv_usec) / (long)(1000000 / linux_ticks_per_sec());
75 return ticks;
/vbox/src/libs/xpcom18a4/nsprpub/pr/src/md/os2/
H A Dos2sem.c68 _PR_MD_TIMED_WAIT_SEM(_MDSemaphore *md, PRIntervalTime ticks) argument
71 rv = DosWaitEventSem(md->sem, PR_IntervalToMilliseconds(ticks));
/vbox/src/libs/xpcom18a4/nsprpub/pr/src/md/windows/
H A Dntsem.c60 _PR_MD_TIMED_WAIT_SEM(_MDSemaphore *md, PRIntervalTime ticks) argument
64 rv = WaitForSingleObject(md->sem, PR_IntervalToMilliseconds(ticks));
/vbox/src/libs/xpcom18a4/nsprpub/pr/src/misc/
H A Dprinrval.c93 PRIntervalTime ticks; local
102 LL_L2UI(ticks, tock);
103 return ticks;
108 PRIntervalTime ticks; local
117 LL_L2UI(ticks, tock);
118 return ticks;
121 PR_IMPLEMENT(PRUint32) PR_IntervalToSeconds(PRIntervalTime ticks)
123 return ticks / PR_TicksPerSecond();
126 PR_IMPLEMENT(PRUint32) PR_IntervalToMilliseconds(PRIntervalTime ticks)
130 LL_UI2L(tock, ticks);
[all...]
/vbox/src/libs/xpcom18a4/nsprpub/pr/include/
H A Dprinrval.h78 ** These two constants define the range (in ticks / second) of the
124 ** Return the number of ticks per second for PR_IntervalNow's clock.
177 NSPR_API(PRUint32) PR_IntervalToSeconds(PRIntervalTime ticks); variable
178 NSPR_API(PRUint32) PR_IntervalToMilliseconds(PRIntervalTime ticks); variable
179 NSPR_API(PRUint32) PR_IntervalToMicroseconds(PRIntervalTime ticks); variable
/vbox/src/libs/xpcom18a4/nsprpub/pr/src/md/unix/
H A Dbsdi.c84 _MD_WAIT(PRThread *thread, PRIntervalTime ticks) argument
H A Ddarwin.c72 _MD_WAIT(PRThread *thread, PRIntervalTime ticks) argument
H A Ddgux.c75 _MD_WAIT(PRThread *thread, PRIntervalTime ticks) argument
H A Dfreebsd.c84 _MD_WAIT(PRThread *thread, PRIntervalTime ticks) argument
H A Dlinux.c88 _MD_WAIT(PRThread *thread, PRIntervalTime ticks) argument
H A Dnec.c66 _MD_WAIT(PRThread *thread, PRIntervalTime ticks) argument
H A Dnetbsd.c86 _MD_WAIT(PRThread *thread, PRIntervalTime ticks) argument
H A Dopenbsd.c86 _MD_WAIT(PRThread *thread, PRIntervalTime ticks) argument
H A Dosf1.c72 _MD_WAIT(PRThread *thread, PRIntervalTime ticks) argument
H A Dqnx.c68 _MD_WAIT(PRThread *thread, PRIntervalTime ticks) argument
H A Dsony.c74 _MD_WAIT(PRThread *thread, PRIntervalTime ticks) argument
H A Dsunos4.c62 _MD_WAIT(PRThread *thread, PRIntervalTime ticks) argument
H A Dreliantunix.c95 _MD_WAIT(PRThread *thread, PRIntervalTime ticks) argument
H A Drhapsody.c72 _MD_WAIT(PRThread *thread, PRIntervalTime ticks) argument
/vbox/src/libs/xpcom18a4/nsprpub/pr/src/md/beos/
H A Dbeos.c127 PRIntervalTime ticks; local
130 ticks = (PRUint32)time.tv_sec * PR_MSEC_PER_SEC; /* that's in milliseconds */
131 ticks += (PRUint32)time.tv_usec / PR_USEC_PER_MSEC; /* so's that */
132 return ticks;
/vbox/src/recompiler/
H A Dqemu-timer.h86 /* host CPU ticks (if available) */
234 static int64_t ticks = 0; local
235 return ticks++;
/vbox/src/VBox/Devices/Audio/
H A DDrvAudio.h165 int64_t ticks; member in union:__anon9882::__anon9883
H A Dnoaudio.c47 int64_t ticks; local
56 ticks = now - no->old_ticks;
59 /* Minimize the rounding error: samples = int((ticks * freq) / ticks_per_second + 0.5). */
60 samples = (int)((2 * ticks * hw->info.freq + ticks_per_second) / ticks_per_second / 2);
120 int64_t ticks = now - no->old_ticks; local
121 int64_t bytes = (ticks * hw->info.bytes_per_second)

Completed in 2447 milliseconds

123