/vbox/src/VBox/Devices/PC/ipxe/src/arch/i386/core/ |
H A D | rdtsc_timer.c | 45 unsigned long elapsed; local 55 elapsed = ( currticks() - start ); 56 } while ( elapsed < ( usecs * rdtsc_ticks_per_usec ) ); 62 elapsed = ( currticks() - start ); 63 rdtsc_ticks_per_usec = ( elapsed / usecs ); 65 "(%ld MHz)\n", elapsed, usecs,
|
/vbox/src/VBox/Devices/PC/ipxe/src/interface/efi/ |
H A D | efi_timer.c | 100 unsigned long elapsed; local 106 elapsed = ( currticks() - start ); 107 ticks_per_sec = ( elapsed * ( 1000 / EFI_CALIBRATE_DELAY_MS )); 109 "ticks/sec)\n", elapsed, EFI_CALIBRATE_DELAY_MS,
|
/vbox/src/libs/xpcom18a4/nsprpub/pr/src/cplus/tests/ |
H A D | interval.cpp | 57 RCInterval now, timeout, epoch, elapsed; local 75 elapsed = now - epoch; 80 seconds, ((elapsed < timeout)? "**" : ""), 81 elapsed.ToMilliseconds()); 95 elapsed = now - epoch; 100 seconds, ((elapsed < timeout)? "**" : ""), 101 elapsed.ToMilliseconds()); 121 elapsed = now - epoch; 123 elapsed /= iterations; 127 msecs, ((elapsed < timeou [all...] |
/vbox/src/libs/xpcom18a4/nsprpub/pr/tests/ |
H A D | ioconthr.c | 83 PRIntervalTime start, elapsed; local 123 elapsed = (PRIntervalTime)(PR_IntervalNow() - start); 125 PR_IntervalToMilliseconds(elapsed)); 129 if (elapsed >= PR_SecondsToInterval(10)) {
|
H A D | sleep.c | 75 PRUint32 elapsed; local 86 elapsed = 1000000UL * (timeout.tv_sec - timein.tv_sec); 87 elapsed += (timeout.tv_usec - timein.tv_usec); 88 fprintf(stderr, "elapsed %u usecs\n", elapsed); 89 if (labs(elapsed - 3000000UL) > onePercent) rv = 1; 100 elapsed = 1000000UL * (timeout.tv_sec - timein.tv_sec); 101 elapsed += (timeout.tv_usec - timein.tv_usec); 102 fprintf(stderr, "elapsed %u usecs\n", elapsed); [all...] |
H A D | inrval.c | 108 PRUint32 elapsed, per_call, loops = 1000000; local 114 elapsed = 1000U * PR_IntervalToMicroseconds(timeout - timein); 115 per_call = elapsed / 1000000U; 124 PRInt64 elapsed, per_call, ten23rd, ten26th; local 133 LL_SUB(elapsed, timeout, timein); 134 LL_MUL(elapsed, elapsed, ten23rd); 135 LL_DIV(per_call, elapsed, ten26th); 146 PRUint64 elapsed, thousand; local 158 LL_SUB(elapsed, timeou [all...] |
H A D | lockfile.c | 190 PRFloat64 elapsed; local 199 elapsed = (PRFloat64)PR_IntervalToMicroseconds(accountable); 205 if (debug_mode) printf("%8.2f usecs/iteration\n", elapsed/loops);
|
H A D | writev.c | 67 PRIntervalTime timein, elapsed, timeout; local 185 elapsed = PR_IntervalNow() - timein; 186 if (elapsed < tmo_min) tmo_min = elapsed; 187 else if (elapsed > tmo_max) tmo_max = elapsed; 188 tmo_elapsed += elapsed;
|
H A D | lock.c | 417 PRFloat64 elapsed; local 429 elapsed = (PRFloat64)PR_IntervalToMicroseconds(accountable); 435 PR_fprintf(PR_STDOUT, "%8.2f usecs/iteration\n", elapsed/loops);
|
H A D | y2ktmo.c | 59 * calls a platform-native function to verify the actual elapsed 61 * is broken. We allow the actual elapsed time to deviate from 98 PRIntervalTime elapsed; local 114 elapsed = (PRIntervalTime)(PR_IntervalNow() - start_time); 115 if (elapsed + tolerance < timeout || elapsed > timeout + tolerance) { 145 PRIntervalTime elapsed; local 182 elapsed = (PRIntervalTime)(PR_IntervalNow() - start_time); 183 if (elapsed + tolerance < timeout || elapsed > timeou 217 PRIntervalTime elapsed; local 292 PRIntervalTime elapsed; local 352 PRIntervalTime elapsed; local 405 PRIntervalTime elapsed; local [all...] |
/vbox/src/VBox/Devices/PC/ipxe/src/core/ |
H A D | monojob.c | 64 unsigned long elapsed; local 85 elapsed = ( currticks() - last_progress ); 86 if ( elapsed >= TICKS_PER_SEC ) {
|
/vbox/src/VBox/GuestHost/OpenGL/include/ |
H A D | cr_timer.h | 21 double time0, elapsed; member in struct:Timer
|
/vbox/src/libs/xpcom18a4/nsprpub/pr/src/threads/combined/ |
H A D | prucv.c | 343 PRIntervalTime elapsed, now; local 346 /* Figure out how much time elapsed since the last clock tick */ 348 elapsed = now - cpu->last_clock; 353 ("ExpireWaits: elapsed=%lld usec", elapsed)); 366 if (elapsed < thread->sleep) { 367 thread->sleep -= elapsed; 368 _PR_SLEEPQMAX(thread->cpu) -= elapsed; 390 ** Consume this sleeper's amount of elapsed time from the elapsed [all...] |
/vbox/src/libs/xpcom18a4/nsprpub/pr/src/md/os2/ |
H A D | os2poll.c | 79 PRIntervalTime remaining, elapsed, start; local 276 elapsed = (PRIntervalTime) (PR_IntervalNow() - start); 277 if (elapsed > timeout) 281 remaining = timeout - elapsed;
|
H A D | os2sock.c | 138 PRIntervalTime epoch, now, elapsed, remaining; local 269 elapsed = (PRIntervalTime) (now - epoch); 270 if (elapsed >= timeout) { 275 remaining = timeout - elapsed;
|
/vbox/src/libs/xpcom18a4/nsprpub/pr/src/md/unix/ |
H A D | uxpoll.c | 64 * elapsed and how much of the timeout still remains. 68 PRIntervalTime start, elapsed, remaining; local 207 elapsed = (PRIntervalTime)(PR_IntervalNow() - start); 208 if (elapsed > timeout) ready = 0; /* timed out */ 211 remaining = timeout - elapsed; 293 PRIntervalTime remaining, elapsed, start; local 419 elapsed = (PRIntervalTime) (PR_IntervalNow() - start); 420 if (elapsed > timeout) ready = 0; /* timed out */ 423 remaining = timeout - elapsed;
|
H A D | unix.c | 517 PRIntervalTime epoch, now, elapsed, remaining; local 612 elapsed = (PRIntervalTime) (now - epoch); 613 if (elapsed >= timeout) { 618 remaining = timeout - elapsed; 635 PRIntervalTime epoch, now, elapsed, remaining; local 741 elapsed = (PRIntervalTime) (now - epoch); 742 if (elapsed >= timeout) { 747 remaining = timeout - elapsed;
|
/vbox/src/VBox/Devices/PC/ipxe/src/usr/ |
H A D | pxemenu.c | 283 unsigned long elapsed; local 319 elapsed = ( now - start ); 320 if ( elapsed >= TICKS_PER_SEC ) {
|
/vbox/src/libs/xpcom18a4/nsprpub/pr/src/md/windows/ |
H A D | w95sock.c | 479 PRIntervalTime elapsed, remaining; local 641 elapsed = remaining; 643 elapsed = PR_SecondsToInterval(tv.tv_sec) 646 if (elapsed >= remaining) { 651 remaining = remaining - elapsed;
|
/vbox/src/libs/xpcom18a4/nsprpub/pr/src/md/beos/ |
H A D | bnet.c | 85 PRIntervalTime epoch, now, elapsed, remaining; local 196 elapsed = (PRIntervalTime) (now - epoch); 197 if (elapsed >= timeout) { 202 remaining = timeout - elapsed;
|
H A D | bfile.c | 567 PRIntervalTime remaining, elapsed, start; local 703 elapsed = (PRIntervalTime) (PR_IntervalNow() - start); 704 if (elapsed > timeout) ready = 0; /* timed out */ 707 remaining = timeout - elapsed;
|
/vbox/src/VBox/RDP/client-1.8.3/ |
H A D | rdpsnd.c | 945 long elapsed; local 961 elapsed = (packet->completion_tv.tv_sec - packet->arrive_tv.tv_sec) * 1000000 + 963 elapsed /= 1000; 966 rdpsnd_send_completion((packet->tick + elapsed) % 65536, packet->index);
|
/vbox/src/libs/xpcom18a4/xpcom/ds/ |
H A D | nsTimelineService.cpp | 354 PRTime elapsed,tmp; local 361 LL_SUB(elapsed, tmp, thread->initTime); 363 PrintTime(elapsed, text, args);
|
/vbox/src/VBox/Devices/PC/ipxe/src/net/udp/ |
H A D | dhcp.c | 364 unsigned long elapsed; local 432 elapsed = ( currticks() - dhcp->start ); 434 ( elapsed > PROXYDHCP_MAX_TIMEOUT ) ) ) 447 unsigned long elapsed = ( currticks() - dhcp->start ); local 450 if ( dhcp->offer.s_addr && ( elapsed > PROXYDHCP_MAX_TIMEOUT ) ) { 685 unsigned long elapsed = ( currticks() - dhcp->start ); local 688 if ( elapsed > PROXYDHCP_MAX_TIMEOUT ) { 824 unsigned long elapsed = ( currticks() - dhcp->start ); local 829 if ( elapsed > PXEBS_MAX_TIMEOUT ) {
|
/vbox/src/VBox/Devices/PC/ipxe/src/drivers/infiniband/ |
H A D | hermon.c | 3503 unsigned long elapsed; local 3533 ( ( elapsed = ( currticks() - start ) ) <
|