/external/qemu/distrib/sdl-1.2.15/src/timer/macos/ |
H A D | SDL_systimer.c | 70 Uint32 stop, now; local 80 now = SDL_GetTicks(); 82 } while ( stop > now );
|
/external/qemu/distrib/sdl-1.2.15/src/timer/mint/ |
H A D | SDL_systimer.c | 78 Uint32 now = start; local 81 now = SDL_Atari_hz200; 84 now = *((volatile long *)_hz_200); 88 return((now*5)-start); 93 Uint32 now; local 95 now = SDL_GetTicks(); 96 while ((SDL_GetTicks()-now)<ms){
|
/external/qemu/distrib/sdl-1.2.15/src/timer/nds/ |
H A D | SDL_systimer.c | 49 Uint32 now; local 50 now=timers2ms(TIMER0_DATA, TIMER1_DATA); 51 while((Uint32)timers2ms(TIMER0_DATA, TIMER1_DATA)<now+ms);
|
/external/qemu/distrib/sdl-1.2.15/src/timer/riscos/ |
H A D | SDL_systimer.c | 86 Uint32 now,then,elapsed; local 115 now = SDL_GetTicks(); 116 elapsed = (now-then); 117 then = now;
|
/external/qemu/distrib/sdl-1.2.15/src/timer/unix/ |
H A D | SDL_systimer.c | 75 struct timespec now; local 76 clock_gettime(CLOCK_MONOTONIC,&now); 77 ticks=(now.tv_sec-start.tv_sec)*1000+(now.tv_nsec-start.tv_nsec)/1000000; 81 struct timeval now; 82 gettimeofday(&now, NULL); 83 ticks=(now.tv_sec-start.tv_sec)*1000+(now.tv_usec-start.tv_usec)/1000; 102 Uint32 then, now, elapsed; 121 now [all...] |
/external/qemu/distrib/sdl-1.2.15/src/timer/win32/ |
H A D | SDL_systimer.c | 75 DWORD now, ticks; local 81 now = GetTickCount(); 95 now = timeGetTime(); 99 if ( now < start ) { 100 ticks = (TIME_WRAP_VALUE-start) + now; 102 ticks = (now - start);
|
/external/qemu/distrib/sdl-1.2.15/src/video/riscos/ |
H A D | SDL_wimpvideo.c | 187 Uint32 now = SDL_GetTicks(); local 188 while (!hasFocus && SDL_GetTicks() - now < 5000)
|
/external/qemu/distrib/sdl-1.2.15/src/video/x11/ |
H A D | SDL_x11events.c | 953 Uint32 now; local 955 now = SDL_GetTicks(); 959 switch_time = now + 1500; 961 switch_time = now + 200; 963 } else if ( (int)(switch_time-now) <= 0 ) {
|
/external/qemu/distrib/sdl-1.2.15/test/ |
H A D | testblitspeed.c | 259 else if (0) /* !!! FIXME: we handle some commandlines elsewhere now */ 366 Uint32 now = 0; local 376 now = SDL_GetTicks(); 377 end = now + testms; 382 if (now - last > 1000) 384 last = now; 396 now = SDL_GetTicks(); 397 } while (now < end);
|
H A D | testoverlay.c | 330 Uint32 then, now; local 577 now = SDL_GetTicks(); 578 printf("Conversion Time: %d milliseconds\n", now-then); 587 now = SDL_GetTicks(); 588 printf("Time: %d milliseconds\n", now-then);
|
H A D | testsprite.c | 161 Uint32 then, now, frames; local 316 now = SDL_GetTicks(); 317 if ( now > then ) { 319 ((double)frames*1000)/(now-then));
|
H A D | testvidinfo.c | 79 Uint32 then, now; local 120 now = SDL_GetTicks(); 121 seconds = (float)(now - then) / 1000.0f; 149 now = SDL_GetTicks(); 150 seconds = (float)(now - then) / 1000.0f; 180 now = SDL_GetTicks(); 181 seconds = (float)(now - then) / 1000.0f; 211 now = SDL_GetTicks(); 212 seconds = (float)(now - then) / 1000.0f; 242 now [all...] |
H A D | testwin.c | 244 Uint32 then, now; local 369 now = SDL_GetTicks(); 370 printf("Time: %d milliseconds\n", now-then);
|
/external/qemu/hw/android/goldfish/ |
H A D | pipe.c | 400 /* Nope, we don't handle these for now. */ 427 /* Do the evil switch now */ 661 D("pingpong buffer is now %d bytes", newsize); 808 /* For now, limit to 500 KB/s in both directions */ 851 int64_t now = qemu_clock_get_ns(QEMU_CLOCK_VIRTUAL); local 853 DD("%s: TICK! now=%lld sendExpiration=%lld recvExpiration=%lld\n", 854 __FUNCTION__, now, pipe->sendExpiration, pipe->recvExpiration); 859 if (pipe->sendExpiration && now > pipe->sendExpiration) { 863 if (pipe->recvExpiration && now > pipe->recvExpiration) {
|
H A D | timer.c | 134 int64_t now; member in struct:rtc_state 138 * (i.e. it has read the low 32-bit of s->now, but not the high 32-bits yet */ 145 qemu_put_be64(f, s->now); 156 s->now = qemu_get_be64(f); 165 s->now = (int64_t)time(NULL) * 1000000000; 166 return s->now; 168 return s->now >> 32;
|
/external/qemu/hw/arm/ |
H A D | armv7m_nvic.c | 276 int64_t now = qemu_clock_get_ns(QEMU_CLOCK_VIRTUAL); local 279 s->systick.tick += now; 286 s->systick.tick -= now;
|
/external/qemu/hw/core/ |
H A D | dma.c | 41 int now[2]; member in struct:dma_regs 140 r->now[ADDR] = r->base[ADDR] << d->dshift; 141 r->now[COUNT] = 0; 167 val = (r->base[COUNT] << d->dshift) - r->now[COUNT]; 169 val = r->now[ADDR] + r->now[COUNT] * dir; 352 r->now[COUNT], (r->base[COUNT] + 1) << ncont); 353 r->now[COUNT] = n; 408 hwaddr addr = ((r->pageh & 0x7f) << 24) | (r->page << 16) | r->now[ADDR]; 430 hwaddr addr = ((r->pageh & 0x7f) << 24) | (r->page << 16) | r->now[ADD [all...] |
/external/qemu/hw/mips/ |
H A D | cputimer.c | 35 uint64_t now, next; local 38 now = qemu_clock_get_ns(QEMU_CLOCK_VIRTUAL); 40 (uint32_t)muldiv64(now, TIMER_FREQ, get_ticks_per_sec()); 41 next = now + muldiv64(wait, get_ticks_per_sec(), TIMER_FREQ);
|
/external/qemu/ |
H A D | qemu-timer.c | 546 int64_t now, last; local 560 now = get_clock_realtime(); 562 clock->last = now; 563 if (now < last) { 564 notifier_list_notify(&clock->reset_notifiers, &now); 566 return now;
|
/external/qemu/telephony/ |
H A D | android_modem.c | 1720 /* the PDU is now owned by the receiver */ 1891 time_t now = time(NULL); local 1899 utc = *gmtime( &now ); 1900 local = *localtime( &now ); 1920 /* now replace every / in the timezone name by a "!" 2038 /* Note: For now, hard-code the IP address of our 2469 { "+CMGF=0", NULL, handleEndOfInit }, /* now is a goof time to send the current tme and timezone */
|
H A D | sms.c | 109 /* now, try to write it to the destination */ 1291 /* now create each SMS PDU */ 1615 SmsTimeStampRec now[1]; local 1647 sms_timestamp_now( now ); 1649 result = smspdu_create_deliver_utf8( utf8, utf8len, from, now );
|
H A D | sysdeps_posix.c | 290 /* we can't free the channel right now because it */ 385 SysTime now = sys_time_ms(); local 387 if (now >= when) { 432 SysTime now = sys_time_ms(); local 436 if (first->when <= now) { 440 SysTime diff = first->when - now; 487 SysTime now = sys_time_ms(); local 492 if (timer->when > now)
|
H A D | test1.c | 23 SysTime now = sys_time_ms(); local 26 printf( "tick %d/%d a %.2fs\n", counter, MAX_COUNTER, now/1000. ); 28 sys_timer_set( timer, now + 2000, timer_func, timer );
|
H A D | test2.c | 29 SysTime now = sys_time_ms(); local 32 printf( "tick %d/%d a %.2fs\n", counter, MAX_COUNTER, now/1000. ); 34 sys_timer_set( timer, now + DELAY, timer_func, timer );
|
/external/ppp/pppd/ |
H A D | main.c | 347 * Initialize magic number generator now so that protocols may 525 * If we're doing dial-on-demand, set up the interface now. 1217 struct timeval now; local 1221 || gettimeofday(&now, NULL) < 0) 1223 link_connect_time = now.tv_sec - start_time.tv_sec; 1312 * calltimeout - Call any timeout routines which are now due.
|