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

1234

/external/chromium_org/third_party/npapi/npspy/extern/nspr/
H A Dprinrval.h64 ** These two constants define the range (in ticks / second) of the
110 ** Return the number of ticks per second for PR_IntervalNow's clock.
163 NSPR_API(PRUint32) PR_IntervalToSeconds(PRIntervalTime ticks); variable
164 NSPR_API(PRUint32) PR_IntervalToMilliseconds(PRIntervalTime ticks); variable
165 NSPR_API(PRUint32) PR_IntervalToMicroseconds(PRIntervalTime ticks); variable
H A Dprthread.h258 ** Make the current thread sleep until "ticks" time amount of time
259 ** has expired. If "ticks" is PR_INTERVAL_NO_WAIT then the call is
264 NSPR_API(PRStatus) PR_Sleep(PRIntervalTime ticks); variable
/external/chromium_org/mojo/public/c/system/tests/
H A Dcore_unittest_pure_c.c43 MojoTimeTicks ticks; local
50 ticks = MojoGetTimeTicksNow();
51 EXPECT_NE(ticks, 0);
/external/chromium_org/net/quic/test_tools/
H A Dmock_clock.cc33 base::TimeTicks ticks; local
34 return ticks + base::TimeDelta::FromMicroseconds(
/external/chromium_org/third_party/usrsctp/usrsctplib/netinet/
H A Dsctp_callout.c41 int ticks = 0; variable
43 extern int ticks;
94 c->c_time = ticks + to_ticks;
136 ticks += SCTP_BASE_VAR(sctp_main_timer_ticks);
140 if (c->c_time <= ticks) {
/external/chromium_org/ui/gfx/animation/
H A Dslide_animation_unittest.cc19 void SetStartTime(base::TimeTicks ticks) { argument
20 animation_->SetStartTime(ticks);
23 void Step(base::TimeTicks ticks) { argument
24 animation_->Step(ticks);
/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/chromium_org/components/nacl/loader/nonsfi/
H A Dirt_basic.cc35 int IrtClock(nacl_abi_clock_t* ticks) { argument
38 *ticks = clock();
/external/chromium_org/ppapi/shared_impl/
H A Dtime_conversion.cc11 // Since WebKit doesn't use ticks for event times, we have to compute what
12 // the time ticks would be assuming the wall clock time doesn't change.
20 double ticks = TimeTicksToPPTimeTicks(base::TimeTicks::Now()); local
21 time_to_ticks_delta_seconds = ticks - wall_clock;
/external/chromium_org/third_party/icu/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/chromium_org/v8/src/base/platform/
H A Delapsed-timer.h57 TimeTicks ticks = Now(); local
58 TimeDelta elapsed = ticks - start_ticks_;
60 start_ticks_ = ticks;
/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/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/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/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/chromium_org/content/common/
H A Dinter_process_time_ticks_converter.h25 // In order to properly tweak ticks, we need 4 reference points:
139 static RemoteTimeTicks FromTimeTicks(const base::TimeTicks& ticks) { argument
140 return RemoteTimeTicks(ticks.ToInternalValue());
/external/chromium_org/net/base/
H A Dnet_log_unittest.h17 base::TimeTicks ticks; // initialized to 0. local
18 ticks += base::TimeDelta::FromMilliseconds(t);
19 return ticks;
/external/chromium_org/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/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/qemu/distrib/sdl-1.2.15/src/audio/bsd/
H A DSDL_bsdaudio.c149 Sint32 ticks; local
151 ticks = ((Sint32)(next_frame - SDL_GetTicks()))-FUDGE_TICKS;
152 if ( ticks > 0 ) {
153 SDL_Delay(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/bluetooth/bluedroid/gki/common/
H A Dgki_time.c132 ** Description This function returns the current system ticks
134 ** Returns The current number of system ticks
147 ** Description This function returns the number of system ticks until the
154 ** Returns Number of ticks til the next timer expires
177 ** ticks - (input) the number of system ticks til the
185 void GKI_start_timer (UINT8 tnum, INT32 ticks, BOOLEAN is_continuous) argument
192 if (ticks <= 0)
193 ticks = 1;
195 orig_ticks = ticks; /* sav
775 gki_adjust_timer_count(INT32 ticks) argument
[all...]
/external/chromium_org/media/cast/logging/
H A Dreceiver_time_offset_estimator_impl.cc58 const TimeTickPair& ticks = events_[key]; local
59 if (!ticks.first.is_null() && !ticks.second.is_null()) {
60 UpdateBound(ticks.first, ticks.second);
/external/chromium_org/net/quic/
H A Dquic_time.cc102 QuicTime::QuicTime(base::TimeTicks ticks) argument
103 : ticks_(ticks) {
/external/chromium_org/remoting/client/plugin/
H A Dpepper_input_handler.cc151 pp::FloatPoint ticks = pp_wheel_event.GetTicks(); local
152 wheel_ticks_x_ += ticks.x();
153 wheel_ticks_y_ += ticks.y();
167 // Always include the ticks in the event, even if insufficient pixel

Completed in 953 milliseconds

1234