Searched refs:ticks (Results 1 - 25 of 102) sorted by relevance

12345

/external/valgrind/main/memcheck/tests/linux/
H A Dtimerfd-syscall.c148 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 (
[all...]
H A Dtimerfd-syscall.stderr.exp10 got timer ticks (1) after 0.5 s
13 got timer ticks (1) after 0.5 s
20 got about 20 timer ticks after about 2s
23 got timer ticks (1) after 0.1 s
33 got timer ticks (1) after 0.5 s
36 got timer ticks (1) after 0.5 s
43 got about 20 timer ticks after about 2s
46 got timer ticks (1) after 0.1 s
/external/grub/netboot/
H A Dtimer.h51 extern void load_timer2(unsigned int ticks);
57 extern inline void waiton_timer2(unsigned int ticks) argument
59 load_timer2(ticks);
H A Dtimer.c13 void load_timer2(unsigned int ticks) argument
18 outb(ticks & 0xFF, TIMER2_PORT);
19 outb(ticks >> 8, TIMER2_PORT);
H A Dmisc.c40 unsigned long ticks; local
44 if ((ticks = currticks ()) == lastticks)
47 lastticks = ticks;
/external/sonivox/jet_tools/JetCreator/
H A Dmidifile.py221 def ConvertToTicks (self, measures, beats, ticks):
223 total_ticks = ticks + (total_beats * self.ppqn)
226 def ConvertTicksToMBT (self, ticks):
227 beats = ticks / self.ppqn
228 ticks -= beats * self.ppqn
231 return (measures, beats, ticks)
233 def ConvertTicksToStr (self, ticks, format=DEFAULT_TIME_FORMAT):
234 measures, beats, ticks = self.ConvertTicksToMBT(ticks)
235 return format % (measures, beats, ticks)
[all...]
/external/qemu/distrib/sdl-1.2.15/test/
H A Dtesttimer.c13 static int ticks = 0; variable
17 ++ticks;
55 if ( ticks ) {
58 desired, (double)(10*1000)/ticks);
/external/webrtc/src/system_wrappers/source/
H A Dcpu_mac.cc50 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/bluetooth/bluedroid/gki/common/
H A Dgki_time.c145 ** Description This function returns the current system ticks
147 ** Returns The current number of system ticks
160 ** Description This function returns the number of system ticks until the
167 ** Returns Number of ticks til the next timer expires
190 ** ticks - (input) the number of system ticks til the
198 void GKI_start_timer (UINT8 tnum, INT32 ticks, BOOLEAN is_continuous) argument
205 if (ticks <= 0)
206 ticks = 1;
208 orig_ticks = ticks; /* sav
1010 gki_adjust_timer_count(INT32 ticks) argument
[all...]
/external/libnfc-nci/halimpl/bcm2079x/gki/common/
H A Dgki_time.c143 ** Description This function returns the current system ticks
145 ** Returns The current number of system ticks
158 ** Description This function returns the number of system ticks until the
165 ** Returns Number of ticks til the next timer expires
188 ** ticks - (input) the number of system ticks til the
196 void GKI_start_timer (UINT8 tnum, INT32 ticks, BOOLEAN is_continuous) argument
203 if (ticks <= 0)
204 ticks = 1;
206 orig_ticks = ticks; /* sav
998 gki_adjust_timer_count(INT32 ticks) argument
[all...]
/external/libnfc-nci/src/gki/common/
H A Dgki_time.c143 ** Description This function returns the current system ticks
145 ** Returns The current number of system ticks
158 ** Description This function returns the number of system ticks until the
165 ** Returns Number of ticks til the next timer expires
188 ** ticks - (input) the number of system ticks til the
196 void GKI_start_timer (UINT8 tnum, INT32 ticks, BOOLEAN is_continuous) argument
203 if (ticks <= 0)
204 ticks = 1;
206 orig_ticks = ticks; /* sav
998 gki_adjust_timer_count(INT32 ticks) argument
[all...]
/external/qemu/distrib/sdl-1.2.15/src/timer/riscos/
H A DSDL_systimer.c52 /* 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/target-arm/
H A Dhelper-android.c29 void HELPER(traceTicks)(uint32_t ticks) argument
31 sim_time += ticks;
H A Dtranslate-android.h316 # define ANDROID_TRACE_DECLS int ticks = 0;
322 ticks = get_insn_ticks_arm(insn); \
330 int ticks = get_insn_ticks_thumb(insn); \
333 gen_traceTicks(ticks); \
347 ticks -= 1; \
353 if (tracing && ticks > 0) { \
354 gen_traceTicks(ticks); \
/external/qemu/distrib/sdl-1.2.15/src/timer/win32/
H A DSDL_systimer.c39 /* 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/interface/
H A Dtick_util.h48 static WebRtc_Word64 TicksToMilliseconds(const WebRtc_Word64 ticks);
50 // Returns a TickTime that is ticks later than the passed TickTime
51 friend TickTime operator+(const TickTime lhs, const WebRtc_Word64 ticks);
55 // Returns a TickInterval that is the difference in ticks beween rhs and lhs
109 inline TickTime operator+(const TickTime lhs, const WebRtc_Word64 ticks) argument
112 time._ticks += ticks;
240 inline WebRtc_Word64 TickTime::TicksToMilliseconds(const WebRtc_Word64 ticks) argument
246 return (ticks * 1000) / qpfreq.QuadPart;
248 return ticks;
251 return ticks / 100000
257 operator +=(const WebRtc_Word64& ticks) argument
[all...]
/external/qemu/distrib/sdl-1.2.15/src/timer/unix/
H A DSDL_systimer.c53 /* 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/iproute2/tc/
H A Dtc_core.h22 unsigned tc_calc_xmitsize(unsigned rate, unsigned ticks);
/external/sonivox/arm-fm-22k/lib_src/
H A Deas_smf.c60 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
1192 SMF_UpdateTime(S_SMF_DATA *pSMFData, EAS_U32 ticks) argument
[all...]
/external/sonivox/arm-hybrid-22k/lib_src/
H A Deas_smf.c60 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
1192 SMF_UpdateTime(S_SMF_DATA *pSMFData, EAS_U32 ticks) argument
[all...]
/external/sonivox/arm-wt-22k/lib_src/
H A Deas_smf.c60 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
1201 SMF_UpdateTime(S_SMF_DATA *pSMFData, EAS_U32 ticks) argument
[all...]
/external/qemu/audio/
H A Dnoaudio.c46 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 ());
/external/mdnsresponder/mDNSPosix/
H A DPosixDaemon.c153 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/icu4c/i18n/
H A Dutmscale.c14 #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.15/src/timer/os2/
H A DSDL_systimer.c42 /* 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;

Completed in 490 milliseconds

12345