/vbox/src/VBox/Devices/PC/ipxe/src/arch/i386/interface/pcbios/ |
H A D | bios_timer.c | 32 * 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 D | rdtsc_timer.h | 25 * 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 D | linux_timer.c | 42 * 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 D | os2sem.c | 68 _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 D | ntsem.c | 60 _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 D | prinrval.c | 93 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 D | prinrval.h | 78 ** 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 D | bsdi.c | 84 _MD_WAIT(PRThread *thread, PRIntervalTime ticks) argument
|
H A D | darwin.c | 72 _MD_WAIT(PRThread *thread, PRIntervalTime ticks) argument
|
H A D | dgux.c | 75 _MD_WAIT(PRThread *thread, PRIntervalTime ticks) argument
|
H A D | freebsd.c | 84 _MD_WAIT(PRThread *thread, PRIntervalTime ticks) argument
|
H A D | linux.c | 88 _MD_WAIT(PRThread *thread, PRIntervalTime ticks) argument
|
H A D | nec.c | 66 _MD_WAIT(PRThread *thread, PRIntervalTime ticks) argument
|
H A D | netbsd.c | 86 _MD_WAIT(PRThread *thread, PRIntervalTime ticks) argument
|
H A D | openbsd.c | 86 _MD_WAIT(PRThread *thread, PRIntervalTime ticks) argument
|
H A D | osf1.c | 72 _MD_WAIT(PRThread *thread, PRIntervalTime ticks) argument
|
H A D | qnx.c | 68 _MD_WAIT(PRThread *thread, PRIntervalTime ticks) argument
|
H A D | sony.c | 74 _MD_WAIT(PRThread *thread, PRIntervalTime ticks) argument
|
H A D | sunos4.c | 62 _MD_WAIT(PRThread *thread, PRIntervalTime ticks) argument
|
H A D | reliantunix.c | 95 _MD_WAIT(PRThread *thread, PRIntervalTime ticks) argument
|
H A D | rhapsody.c | 72 _MD_WAIT(PRThread *thread, PRIntervalTime ticks) argument
|
/vbox/src/libs/xpcom18a4/nsprpub/pr/src/md/beos/ |
H A D | beos.c | 127 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 D | qemu-timer.h | 86 /* host CPU ticks (if available) */ 234 static int64_t ticks = 0; local 235 return ticks++;
|
/vbox/src/VBox/Devices/Audio/ |
H A D | DrvAudio.h | 165 int64_t ticks; member in union:__anon9882::__anon9883
|
H A D | noaudio.c | 47 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)
|