/external/chromium/net/base/ |
net_log_unittest.h | 18 base::TimeTicks ticks; // initialized to 0. local 19 ticks += base::TimeDelta::FromMilliseconds(t); 20 return ticks;
|
/external/icu4c/i18n/ |
utmscale.c | 14 #define ticks INT64_C(1) macro 15 #define microseconds (ticks * 10) 28 {ticks, INT64_C(504911232000000000), U_INT64_MIN, INT64_C(8718460804854775807), INT64_C(-8718460804854775808), U_INT64_MAX, INT64_C(504911232000000000), INT64_C(504911232000000000), INT64_C(0), U_INT64_MIN, U_INT64_MAX}, 29 {ticks, INT64_C(0), U_INT64_MIN, U_INT64_MAX, U_INT64_MIN, U_INT64_MAX, INT64_C(0), INT64_C(0), INT64_C(0), U_INT64_MIN, U_INT64_MAX},
|
/external/qemu/distrib/sdl-1.2.12/src/timer/amigaos/ |
SDL_systimer.c | 57 /* The first ticks value of the application */ 64 /* Set first ticks value */ 70 clock_t ticks; local 72 ticks=clock()-start; 77 return(ticks); 81 return ticks*(1000/CLOCKS_PER_SEC); 117 /* Set first ticks value */ 190 D(bug("Current ticks: %lu - %lu\n",result[0],result[1]));
|
/external/qemu/distrib/sdl-1.2.12/src/timer/riscos/ |
SDL_systimer.c | 52 /* The first ticks value of the application */ 57 /* Set first ticks value */ 63 clock_t ticks; local 65 ticks=clock()-start; 70 return(ticks); 74 return (ticks * 10); 78 return ticks*(1000/CLOCKS_PER_SEC);
|
/external/qemu/distrib/sdl-1.2.12/src/timer/unix/ |
SDL_systimer.c | 53 /* The first ticks value of the application */ 63 /* Set first ticks value */ 74 Uint32 ticks; local 77 ticks=(now.tv_sec-start.tv_sec)*1000+(now.tv_nsec-start.tv_nsec)/1000000; 78 return(ticks); 80 Uint32 ticks; 83 ticks=(now.tv_sec-start.tv_sec)*1000+(now.tv_usec-start.tv_usec)/1000; 84 return(ticks);
|
/external/qemu/distrib/sdl-1.2.12/src/timer/win32/ |
SDL_systimer.c | 39 /* The first (low-resolution) ticks value of the application */ 45 /* The first high-resolution ticks value of the application */ 47 /* The number of ticks per second of the high-resolution performance counter */ 53 /* Set first ticks value */ 75 DWORD now, ticks; local 100 ticks = (TIME_WRAP_VALUE-start) + now; 102 ticks = (now - start); 104 return(ticks);
|
/external/webrtc/src/system_wrappers/source/ |
cpu_mac.cc | 50 WebRtc_Word64 ticks = 0; local 53 ticks += cpuLoadInfo[cpu].cpu_ticks[state]; 55 _lastTickCount[cpu] = ticks; 122 WebRtc_Word64 ticks = 0; local 125 ticks += cpuLoadInfo[cpu].cpu_ticks[state]; 132 (ticks - _lastTickCount[cpu])) / 135 _lastTickCount[cpu] = ticks;
|
/external/qemu/distrib/sdl-1.2.12/src/audio/bsd/ |
SDL_bsdaudio.c | 149 Sint32 ticks; local 151 ticks = ((Sint32)(next_frame - SDL_GetTicks()))-FUDGE_TICKS; 152 if ( ticks > 0 ) { 153 SDL_Delay(ticks);
|
/external/valgrind/main/memcheck/tests/linux/ |
timerfd-syscall.c | 148 u_int64_t ticks; local 161 fprintf(stderr, "no ticks happened\n"); 164 if (read(tfd, &ticks, sizeof(ticks)) != sizeof(ticks)) 170 return ticks; 176 long ticks; local 211 ticks = waittmr(tfd, -1); 213 if (ticks <= 0) 216 fprintf(stderr, "got timer ticks (%ld) after %.1f s\n" [all...] |
/external/grub/netboot/ |
misc.c | 40 unsigned long ticks; local 44 if ((ticks = currticks ()) == lastticks) 47 lastticks = ticks;
|
/external/mdnsresponder/mDNSPosix/ |
PosixDaemon.c | 153 mDNSs32 ticks; local 160 ticks = nextTimerEvent - mDNS_TimeNow(m); 161 if (ticks < 1) ticks = 1; 164 ticks = 0; 166 timeout.tv_sec = ticks / mDNSPlatformOneSecond; 167 timeout.tv_usec = (ticks % mDNSPlatformOneSecond) * 1000000 / mDNSPlatformOneSecond;
|
/external/qemu/audio/ |
noaudio.c | 46 int64_t ticks; local 50 ticks = now - no->old_ticks; 51 bytes = muldiv64 (ticks, hw->info.bytes_per_second, get_ticks_per_sec ()); 106 int64_t ticks = now - no->old_ticks; local 108 muldiv64 (ticks, hw->info.bytes_per_second, get_ticks_per_sec ());
|
wavaudio.c | 65 int64_t ticks = now - wav->old_ticks; local 67 muldiv64 (ticks, hw->info.bytes_per_second, get_ticks_per_sec ()); 353 int64_t ticks = now - wav->old_ticks; local 354 int64_t bytes = muldiv64(ticks, hw->info.bytes_per_second, get_ticks_per_sec());
|
/external/qemu/distrib/sdl-1.2.12/src/audio/arts/ |
SDL_artsaudio.c | 203 Sint32 ticks; local 218 ticks = ((Sint32)(next_frame - SDL_GetTicks()))-FUDGE_TICKS; 219 if ( ticks > 0 ) { 220 SDL_Delay(ticks);
|
/external/qemu/distrib/sdl-1.2.12/src/audio/dma/ |
SDL_dmaaudio.c | 157 Sint32 ticks; local 159 ticks = ((Sint32)(next_frame - SDL_GetTicks()))-FUDGE_TICKS; 160 if ( ticks > 0 ) { 161 SDL_Delay(ticks);
|
/external/qemu/distrib/sdl-1.2.12/src/audio/esd/ |
SDL_esdaudio.c | 187 Sint32 ticks; local 202 ticks = ((Sint32)(next_frame - SDL_GetTicks()))-FUDGE_TICKS; 203 if ( ticks > 0 ) { 204 SDL_Delay(ticks);
|
/external/qemu/distrib/sdl-1.2.12/src/audio/paudio/ |
SDL_paudio.c | 132 Sint32 ticks; local 134 ticks = ((Sint32)(next_frame - SDL_GetTicks()))-FUDGE_TICKS; 135 if ( ticks > 0 ) { 136 SDL_Delay(ticks);
|
/external/qemu/distrib/sdl-1.2.12/src/timer/os2/ |
SDL_systimer.c | 42 /* The first high-resolution ticks value of the application */ 44 /* The number of ticks per second of the high-resolution performance counter */ 56 ULONG ticks = ticks; local 84 mov dword ptr ticks, eax local 89 return ticks;
|
/external/qemu/ |
qemu-timer.h | 162 /* host CPU ticks (if available) */ 310 static int64_t ticks = 0; local 311 return ticks++;
|
/external/sonivox/arm-fm-22k/lib_src/ |
eas_smf.c | 60 static void SMF_UpdateTime (S_SMF_DATA *pSMFData, EAS_U32 ticks); 276 EAS_U32 ticks; local 284 /* get current ticks */ 285 ticks = pSMFData->nextStream->ticks; 304 pSMFData->nextStream->ticks = SMF_END_OF_TRACK; 308 else if (pSMFData->nextStream->ticks != SMF_END_OF_TRACK) 317 pSMFData->nextStream->ticks = SMF_END_OF_TRACK; 321 else if (pSMFData->nextStream->ticks == ticks) 478 EAS_U32 ticks; local 787 EAS_U32 ticks; local 1050 EAS_U32 ticks; local [all...] |
eas_miditypes.h | 82 EAS_U32 ticks; /* time of next event in stream */ member in struct:s_smf_stream_tag 110 EAS_U16 ppqn; /* ticks per quarter note */
|
/external/sonivox/arm-hybrid-22k/lib_src/ |
eas_smf.c | 60 static void SMF_UpdateTime (S_SMF_DATA *pSMFData, EAS_U32 ticks); 276 EAS_U32 ticks; local 284 /* get current ticks */ 285 ticks = pSMFData->nextStream->ticks; 304 pSMFData->nextStream->ticks = SMF_END_OF_TRACK; 308 else if (pSMFData->nextStream->ticks != SMF_END_OF_TRACK) 317 pSMFData->nextStream->ticks = SMF_END_OF_TRACK; 321 else if (pSMFData->nextStream->ticks == ticks) 478 EAS_U32 ticks; local 787 EAS_U32 ticks; local 1050 EAS_U32 ticks; local [all...] |
/external/sonivox/arm-wt-22k/lib_src/ |
eas_smf.c | 60 static void SMF_UpdateTime (S_SMF_DATA *pSMFData, EAS_U32 ticks); 276 EAS_U32 ticks; local 289 /* get current ticks */ 290 ticks = pSMFData->nextStream->ticks; 309 pSMFData->nextStream->ticks = SMF_END_OF_TRACK; 313 else if (pSMFData->nextStream->ticks != SMF_END_OF_TRACK) 322 pSMFData->nextStream->ticks = SMF_END_OF_TRACK; 326 else if (pSMFData->nextStream->ticks == ticks) 483 EAS_U32 ticks; local 792 EAS_U32 ticks; local 1055 EAS_U32 ticks; local [all...] |
/external/chromium/base/ |
time_win.cc | 114 // the number of ticks that have elapsed, and compute the delta. 119 TimeTicks ticks = TimeTicks::Now(); local 122 TimeDelta elapsed = ticks - initial_ticks;
|
/external/icu4c/test/cintltst/ |
utmstest.c | 352 int64_t ticks; member in struct:DotNetDateTimeTicks 358 * Console::WriteLine(L" {{ {0}, 1, 1, INT64_C({1}) }},", year, DateTime(year, 1, 1).Ticks); 362 /* year, month, day, ticks */ 450 int64_t ticks, millis; local 465 millis = utmscale_toInt64(dt->ticks, UDTS_ICU4C_TIME, &errorCode); 471 log_err("utmscale_toInt64(ticks[%d], ICU4C)=%dd != %dd=ucal_getMillis(%04d-%02d-%02d)\n", 476 ticks = utmscale_fromInt64((int64_t)icuDate, UDTS_ICU4C_TIME, &errorCode); 477 if(ticks != dt->ticks) { 478 /* Print days not ticks to stay within printf() range. * [all...] |