/external/chromium_org/net/quic/test_tools/ |
mock_clock.cc | 33 base::TimeTicks ticks; local 34 return ticks + base::TimeDelta::FromMicroseconds(
|
/external/chromium_org/third_party/npapi/npspy/extern/nspr/ |
prinrval.h | 64 ** 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
|
prthread.h | 258 ** 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/third_party/usrsctp/usrsctplib/netinet/ |
sctp_callout.c | 41 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/qemu/distrib/sdl-1.2.15/test/ |
testtimer.c | 13 static int ticks = 0; variable 17 ++ticks; 55 if ( ticks ) { 58 desired, (double)(10*1000)/ticks);
|
/external/chromium_org/mojo/public/c/system/tests/ |
core_unittest_pure_c.c | 43 MojoTimeTicks ticks; local 50 ticks = MojoGetTimeTicksNow(); 51 EXPECT_NE(ticks, 0);
|
/external/chromium_org/ppapi/shared_impl/ |
time_conversion.cc | 11 // 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/ |
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/icu/icu4c/source/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/chromium_org/net/base/ |
net_log_unittest.h | 17 base::TimeTicks ticks; // initialized to 0. local 18 ticks += base::TimeDelta::FromMilliseconds(t); 19 return ticks;
|
/external/chromium_org/v8/src/platform/ |
elapsed-timer.h | 57 TimeTicks ticks = Now(); local 58 TimeDelta elapsed = ticks - start_ticks_; 60 start_ticks_ = ticks;
|
/external/qemu/distrib/sdl-1.2.15/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.15/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.15/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/chromium_org/third_party/webrtc/system_wrappers/interface/ |
tick_util.h | 41 explicit TickTime(int64_t ticks); 52 // Returns the number of ticks in the tick domain. 53 int64_t Ticks() const; 57 static int64_t TicksToMilliseconds(const int64_t ticks); 59 // Returns a TickTime that is ticks later than the passed TickTime. 60 friend TickTime operator+(const TickTime lhs, const int64_t ticks); 61 TickTime& operator+=(const int64_t& ticks); 63 // Returns a TickInterval that is the difference in ticks beween rhs and lhs. 82 // Represents a time delta in ticks. 129 inline TickTime operator+(const TickTime lhs, const int64_t ticks) { 167 int64_t ticks = TickTime::Now().Ticks(); local 184 int64_t ticks = TickTime::Now().Ticks(); local [all...] |
/external/chromium_org/v8/src/ |
runtime-profiler.cc | 33 // FLAG_type_info_threshold), but has seen a huge number of ticks, 36 // We only have one byte to store the number of ticks. 169 int ticks = shared_function_info->profiler_ticks(); local 170 if (ticks < Smi::kMaxValue) { 171 shared_function_info->set_profiler_ticks(ticks + 1); 193 int ticks = shared_code->profiler_ticks(); local 195 ticks * kOSRCodeSizeAllowancePerTick; 197 if (ticks < 255) shared_code->set_profiler_ticks(ticks + 1); 223 int ticks = shared_code->profiler_ticks() local 235 int ticks = shared_code->profiler_ticks(); local [all...] |
/external/qemu/distrib/sdl-1.2.15/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/chromium_org/chrome/browser/devtools/ |
devtools_network_interceptor.cc | 131 int64_t ticks = last_tick - last_tick_; local 140 int64_t shift = ticks % length; 143 (ticks / length) * kPacketSize + (i < shift ? kPacketSize : 0));
|
/external/chromium_org/native_client_sdk/src/libraries/xray/ |
report.c | 24 uint64_t ticks; member in struct:XRayTotal 52 " Address Ticks Percent Function [annotation...]\n"); 67 uint64_t ticks = local 69 float percent = 100.0f * (float)ticks / total; 70 if (percent >= percent_cutoff && ticks >= ticks_cutoff) { 80 (unsigned int)addr, ticks, percent, 93 if (ib->ticks > ia->ticks) 95 else if (ib->ticks < ia->ticks) [all...] |
/external/chromium_org/remoting/client/plugin/ |
pepper_input_handler.cc | 152 pp::FloatPoint ticks = pp_wheel_event.GetTicks(); local 153 wheel_ticks_x_ += ticks.x(); 154 wheel_ticks_y_ += ticks.y(); 168 // Always include the ticks in the event, even if insufficient pixel
|
/external/chromium_org/third_party/libjingle/source/talk/base/ |
timeutils.cc | 53 int64 ticks = 0; local 62 ticks = mach_absolute_time() * timebase.numer / timebase.denom; 68 ticks = kNumNanosecsPerSec * static_cast<int64>(ts.tv_sec) + 86 ticks = now + (num_wrap_timegettime << 32); 89 ticks = ticks * kNumNanosecsPerMillisec; 91 return ticks;
|
/external/chromium_org/third_party/webrtc/base/ |
timeutils.cc | 36 int64 ticks = 0; local 45 ticks = mach_absolute_time() * timebase.numer / timebase.denom; 51 ticks = kNumNanosecsPerSec * static_cast<int64>(ts.tv_sec) + 69 ticks = now + (num_wrap_timegettime << 32); 72 ticks = ticks * kNumNanosecsPerMillisec; 74 return ticks;
|
/external/chromium_org/tools/android/ps_ext/ |
ps_ext.c | 20 * All times are expressed in ticks. 32 const long ticks = (long) (rate * uptime_secs); local 33 printf(" \"time\": { \"ticks\": %ld, \"rate\": %ld}", ticks, rate);
|