/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/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/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/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/tests/ |
H A D | inrval.c | 82 PRIntervalTime ticks = PR_TicksPerSecond(); local 85 PR_fprintf(output, "PR_TicksPerSecond: %ld\n\n", ticks); 94 PR_fprintf(output, "PR_IntervalToSeconds(%ld): %ld\n", ticks, PR_IntervalToSeconds(ticks)); 95 PR_fprintf(output, "PR_IntervalToMilliseconds(%ld): %ld\n", ticks, PR_IntervalToMilliseconds(ticks)); 96 PR_fprintf(output, "PR_IntervalToMicroseconds(%ld): %ld\n\n", ticks, PR_IntervalToMicroseconds(ticks)); 98 ticks *= 3; 99 PR_fprintf(output, "PR_IntervalToSeconds(%ld): %ld\n", ticks, PR_IntervalToSecond 152 PRIntervalTime ticks = PR_SecondsToInterval(seconds); local [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
|
H A D | prmon.h | 90 ** Wait for a notify on the monitor's condition variable. Sleep for "ticks" 91 ** amount of time (if "ticks" is PR_INTERVAL_NO_TIMEOUT then the sleep is 101 ** notify) or when the "ticks" timeout elapses. 105 NSPR_API(PRStatus) PR_Wait(PRMonitor *mon, PRIntervalTime 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/VBox/Frontends/VirtualBox/src/extensions/ |
H A D | QIAdvancedSlider.cpp | 53 /* Make sure ticks *always* positioned below: */ 83 QRect ticks = style()->subControlRect(QStyle::CC_Slider, &opt, QStyle::SC_SliderTickmarks, this); local 84 ticks.setRect((s.width() - available) / 2, s.height() - ticks.y(), available, ticks.height()); 92 QRect ticks = style()->subControlRect(QStyle::CC_Slider, &opt, QStyle::SC_SliderHandle, this) | local 94 ticks.setRect((s.width() - available) / 2, ticks.bottom() + 1, available, s.height() - ticks.bottom() - 1); 103 p.fillRect(ticks [all...] |
/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/VBox/Devices/PC/ipxe/src/arch/i386/core/ |
H A D | timer2.c | 65 static void load_timer2 ( unsigned int ticks ) { 81 /* LSB of ticks */ 82 outb(ticks & 0xFF, TIMER2_PORT); 83 /* MSB of ticks */ 84 outb(ticks >> 8, TIMER2_PORT);
|
/vbox/src/libs/xpcom18a4/nsprpub/pr/src/md/unix/ |
H A D | uxrng.c | 296 int ticks; 299 ticks=times(&buffer); 300 return _pr_CopyLowBits(buf, maxbytes, &ticks, sizeof(ticks)); 318 int ticks; 321 ticks=times(&buffer); 322 return _pr_CopyLowBits(buf, maxbytes, &ticks, sizeof(ticks)); 286 int ticks; local 307 int ticks; local
|
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 | nec.c | 66 _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 | bsdi.c | 84 _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
|
/vbox/src/VBox/Devices/Audio/ |
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)
|
/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/libs/xpcom18a4/nsprpub/pr/src/bthreads/ |
H A D | btmon.c | 144 ** Wait for a notify on the monitor's condition variable. Sleep for "ticks" 145 ** amount of time (if "ticks" is PR_INTERVAL_NO_TIMEOUT then the sleep is 155 ** notify) or when the "ticks" timeout elapses. 160 PR_Wait (PRMonitor *mon, PRIntervalTime ticks) 173 status = PR_WaitCondVar( mon->cvar, ticks );
|