/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
|
prmon.h | 77 ** Wait for a notify on the monitor's condition variable. Sleep for "ticks" 78 ** amount of time (if "ticks" is PR_INTERVAL_NO_TIMEOUT then the sleep is 88 ** notify) or when the "ticks" timeout elapses. 92 NSPR_API(PRStatus) PR_Wait(PRMonitor *mon, PRIntervalTime ticks);
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/sqlite3/ |
dbapi2.py | 41 def DateFromTicks(ticks): 42 return Date(*time.localtime(ticks)[:3]) 44 def TimeFromTicks(ticks): 45 return Time(*time.localtime(ticks)[3:6]) 47 def TimestampFromTicks(ticks): 48 return Timestamp(*time.localtime(ticks)[:6])
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/sqlite3/ |
dbapi2.py | 41 def DateFromTicks(ticks): 42 return Date(*time.localtime(ticks)[:3]) 44 def TimeFromTicks(ticks): 45 return Time(*time.localtime(ticks)[3:6]) 47 def TimestampFromTicks(ticks): 48 return Timestamp(*time.localtime(ticks)[:6])
|
/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...] |
timerfd-syscall.stderr.exp | 10 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/ |
timer.h | 49 /* Ticks must be between 0 and 65535 (0 == 65536) 51 extern void load_timer2(unsigned int ticks); 57 extern inline void waiton_timer2(unsigned int ticks) 59 load_timer2(ticks);
|
timer.c | 13 void load_timer2(unsigned int ticks) 18 outb(ticks & 0xFF, TIMER2_PORT); 19 outb(ticks >> 8, TIMER2_PORT);
|
/external/chromium_org/net/quic/test_tools/ |
mock_clock.cc | 33 base::TimeTicks ticks; local 34 return ticks + base::TimeDelta::FromMicroseconds(
|
/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/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/bluetooth/bluedroid/gki/common/ |
gki_time.c | 145 ** 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) 205 if (ticks <= 0) 206 ticks = 1; 208 orig_ticks = ticks; /* save the ticks in case adjustment is necessary * [all...] |
/external/libnfc-nci/halimpl/bcm2079x/gki/common/ |
gki_time.c | 143 ** 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) 203 if (ticks <= 0) 204 ticks = 1; 206 orig_ticks = ticks; /* save the ticks in case adjustment is necessary * [all...] |
/external/libnfc-nci/src/gki/common/ |
gki_time.c | 143 ** 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) 203 if (ticks <= 0) 204 ticks = 1; 206 orig_ticks = ticks; /* save the ticks in case adjustment is necessary * [all...] |
/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/sonivox/jet_tools/JetCreator/ |
midifile.py | 221 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/target-arm/ |
helper-android.c | 29 void HELPER(traceTicks)(uint32_t ticks) 31 sim_time += ticks;
|
/external/chromium_org/ui/base/animation/ |
slide_animation_unittest.cc | 18 void SetStartTime(base::TimeTicks ticks) { 19 animation_->SetStartTime(ticks); 22 void Step(base::TimeTicks ticks) { 23 animation_->Step(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/interface/ |
tick_util.h | 47 WebRtc_Word64 Ticks() const; 51 static WebRtc_Word64 TicksToMilliseconds(const WebRtc_Word64 ticks); 53 // Returns a TickTime that is ticks later than the passed TickTime 54 friend TickTime operator+(const TickTime lhs, const WebRtc_Word64 ticks); 58 // Returns a TickInterval that is the difference in ticks beween rhs and lhs 112 inline TickTime operator+(const TickTime lhs, const WebRtc_Word64 ticks) 115 time._ticks += ticks; 237 inline WebRtc_Word64 TickTime::Ticks() const 259 inline WebRtc_Word64 TickTime::TicksToMilliseconds(const WebRtc_Word64 ticks) 265 return (ticks * 1000) / qpfreq.QuadPart [all...] |
/external/chromium_org/third_party/libjingle/source/talk/base/ |
timeutils.cc | 52 int64 ticks = 0; local 61 ticks = mach_absolute_time() * timebase.numer / timebase.denom; 67 ticks = kNumNanosecsPerSec * static_cast<int64>(ts.tv_sec) + 85 ticks = now + (num_wrap_timegettime << 32); 88 ticks = ticks * kNumNanosecsPerMillisec; 90 return ticks;
|
/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/chromium_org/v8/src/ |
runtime-profiler.cc | 75 // FLAG_type_info_threshold), but has seen a huge number of ticks, 78 // We only have one byte to store the number of ticks. 254 // a certain number of ticks. 259 // modify and reset the ticks until next adjustment. 290 int ticks = shared_code->profiler_ticks(); local 292 ticks * kOSRCodeSizeAllowancePerTick; 294 if (ticks < 255) shared_code->set_profiler_ticks(ticks + 1); 320 int ticks = shared_code->profiler_ticks(); local 321 if (ticks >= kProfilerTicksBeforeReenablingOptimization) 333 int ticks = shared_code->profiler_ticks(); local [all...] |
/external/iproute2/tc/ |
tc_core.h | 22 unsigned tc_calc_xmitsize(unsigned rate, unsigned 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...] |