Searched defs:ticks (Results 1 - 25 of 54) sorted by relevance

123

/external/icu/icu4c/source/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/v8/src/base/platform/
H A Delapsed-timer.h57 TimeTicks ticks = Now(); local
58 TimeDelta elapsed = ticks - start_ticks_;
60 start_ticks_ = ticks;
H A Dtime.h388 explicit TimeTicks(int64_t ticks) : ticks_(ticks) {} argument
394 inline TimeTicks operator+(const TimeDelta& delta, const TimeTicks& ticks) { argument
395 return ticks + delta;
/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/libnfc-nci/src/nfc/tags/
H A Drw_main.c153 UINT32 ticks, elapsed_ms; local
155 ticks = GKI_get_tick_count () - rw_cb.stats.start_tick;
156 elapsed_ms = GKI_TICKS_TO_MS (ticks);
/external/v8/src/
H A Druntime-profiler.cc33 // FLAG_type_info_threshold), but has seen a huge number of ticks,
36 // We only have one byte to store the number of ticks.
180 int ticks = shared_function_info->profiler_ticks(); local
181 if (ticks < Smi::kMaxValue) {
182 shared_function_info->set_profiler_ticks(ticks + 1);
198 int ticks = shared_code->profiler_ticks(); local
200 ticks * kOSRCodeSizeAllowancePerTick;
202 if (ticks < 255) shared_code->set_profiler_ticks(ticks + 1);
223 int ticks local
235 int ticks = shared_code->profiler_ticks(); local
[all...]
/external/iproute2/tc/
H A Dtc_core.c64 unsigned tc_calc_xmitsize(unsigned rate, unsigned ticks) argument
66 return ((double)rate*tc_core_tick2time(ticks))/TIME_UNITS_PER_SEC;
H A Dq_netem.c152 static int get_ticks(__u32 *ticks, const char *str) argument
164 *ticks = tc_core_time2tick(t);
/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
1004 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
1004 gki_adjust_timer_count(INT32 ticks) argument
[all...]
/external/valgrind/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...]
/external/fio/
H A Ddiskutil.h12 uint64_t ticks[2]; member in struct:disk_util_stats
30 uint64_t ticks[2]; member in struct:disk_util_agg
/external/icu/icu4c/source/test/cintltst/
H A Dutmstest.c353 int64_t ticks; member in struct:DotNetDateTimeTicks
363 /* year, month, day, ticks */
451 int64_t ticks, millis; local
466 millis = utmscale_toInt64(dt->ticks, UDTS_ICU4C_TIME, &errorCode);
472 log_err("utmscale_toInt64(ticks[%d], ICU4C)=%dd != %dd=ucal_getMillis(%04d-%02d-%02d)\n",
477 ticks = utmscale_fromInt64((int64_t)icuDate, UDTS_ICU4C_TIME, &errorCode);
478 if(ticks != dt->ticks) {
479 /* Print days not ticks to stay within printf() range. */
481 (int)i, (int)(ticks/dayTick
[all...]
/external/jmonkeyengine/engine/src/desktop/com/jme3/app/state/
H A DVideoRecorderAppState.java200 private int ticks; field in class:VideoRecorderAppState.IsoTimer
205 this.ticks = 0;
209 return (long) (this.ticks * (1.0f / this.framerate) * 1000f);
234 this.ticks++;
238 this.ticks = 0;
/external/libdrm/tests/ttmtest/src/
H A Dttmtest.c170 unsigned long *ticks)
186 *ticks++ = time_diff(oldTime, curTime);
192 *ticks++ = time_diff(oldTime, curTime);
197 *ticks++ = time_diff(oldTime, curTime);
202 *ticks++ = time_diff(oldTime, curTime);
207 *ticks++ = time_diff(oldTime, curTime);
212 *ticks++ = time_diff(oldTime, curTime);
224 *ticks++ = time_diff(oldTime, curTime);
230 *ticks++ = time_diff(oldTime, curTime);
235 *ticks
169 benchmarkBuffer(TinyDRIContext * ctx, unsigned long size, unsigned long *ticks) argument
307 unsigned long ticks[128], *pTicks; local
[all...]
/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/sonivox/arm-fm-22k/lib_src/
H A Deas_miditypes.h82 EAS_U32 ticks; /* time of next event in stream */ member in struct:s_smf_stream_tag
110 EAS_U16 ppqn; /* ticks per quarter note */
H A Deas_rtttl.c264 EAS_I32 ticks; local
303 ticks = pData->duration * pData->tick;
408 ticks = c * pData->tick;
434 ticks += ticks >> 1;
463 pData->restTicks = ticks >> 4;
474 pData->restTicks = ticks >> 1;
483 pData->time += ticks - pData->restTicks;
488 pData->time += ticks;
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_miditypes.h82 EAS_U32 ticks; /* time of next event in stream */ member in struct:s_smf_stream_tag
110 EAS_U16 ppqn; /* ticks per quarter note */
H A Deas_rtttl.c264 EAS_I32 ticks; local
303 ticks = pData->duration * pData->tick;
408 ticks = c * pData->tick;
434 ticks += ticks >> 1;
463 pData->restTicks = ticks >> 4;
474 pData->restTicks = ticks >> 1;
483 pData->time += ticks - pData->restTicks;
488 pData->time += ticks;
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_miditypes.h82 EAS_U32 ticks; /* time of next event in stream */ member in struct:s_smf_stream_tag
110 EAS_U16 ppqn; /* ticks per quarter note */
H A Deas_rtttl.c264 EAS_I32 ticks; local
303 ticks = pData->duration * pData->tick;
408 ticks = c * pData->tick;
434 ticks += ticks >> 1;
463 pData->restTicks = ticks >> 4;
474 pData->restTicks = ticks >> 1;
483 pData->time += ticks - pData->restTicks;
488 pData->time += ticks;
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...]

Completed in 827 milliseconds

123