/external/sonivox/jet_tools/JetCreator/ |
D | midifile.py | 221 def ConvertToTicks (self, measures, beats, ticks): argument 223 total_ticks = ticks + (total_beats * self.ppqn) 226 def ConvertTicksToMBT (self, ticks): argument 227 beats = ticks / self.ppqn 228 ticks -= beats * self.ppqn 231 return (measures, beats, ticks) 233 def ConvertTicksToStr (self, ticks, format=DEFAULT_TIME_FORMAT): argument 234 measures, beats, ticks = self.ConvertTicksToMBT(ticks) 235 return format % (measures, beats, ticks) 239 measures, beats, ticks = s.split(':',3) [all …]
|
/external/libnfc-nci/src/gki/common/ |
D | gki_time.c | 196 void GKI_start_timer (UINT8 tnum, INT32 ticks, BOOLEAN is_continuous) in GKI_start_timer() argument 203 if (ticks <= 0) in GKI_start_timer() 204 ticks = 1; in GKI_start_timer() 206 orig_ticks = ticks; /* save the ticks in case adjustment is necessary */ in GKI_start_timer() 211 reload = ticks; in GKI_start_timer() 243 if (GKI_MAX_INT32 - (gki_cb.com.OSNumOrigTicks - gki_cb.com.OSTicksTilExp) > ticks) in GKI_start_timer() 245 ticks += gki_cb.com.OSNumOrigTicks - gki_cb.com.OSTicksTilExp; in GKI_start_timer() 248 ticks = GKI_MAX_INT32; in GKI_start_timer() 255 gki_cb.com.OSTaskTmr0 [task_id] = ticks; in GKI_start_timer() 262 gki_cb.com.OSTaskTmr1 [task_id] = ticks; in GKI_start_timer() [all …]
|
/external/libnfc-nci/halimpl/bcm2079x/gki/common/ |
D | gki_time.c | 196 void GKI_start_timer (UINT8 tnum, INT32 ticks, BOOLEAN is_continuous) in GKI_start_timer() argument 203 if (ticks <= 0) in GKI_start_timer() 204 ticks = 1; in GKI_start_timer() 206 orig_ticks = ticks; /* save the ticks in case adjustment is necessary */ in GKI_start_timer() 211 reload = ticks; in GKI_start_timer() 243 if (GKI_MAX_INT32 - (gki_cb.com.OSNumOrigTicks - gki_cb.com.OSTicksTilExp) > ticks) in GKI_start_timer() 245 ticks += gki_cb.com.OSNumOrigTicks - gki_cb.com.OSTicksTilExp; in GKI_start_timer() 248 ticks = GKI_MAX_INT32; in GKI_start_timer() 255 gki_cb.com.OSTaskTmr0 [task_id] = ticks; in GKI_start_timer() 262 gki_cb.com.OSTaskTmr1 [task_id] = ticks; in GKI_start_timer() [all …]
|
/external/valgrind/memcheck/tests/linux/ |
D | timerfd-syscall.c | 148 u_int64_t ticks; in waittmr() local 164 if (read(tfd, &ticks, sizeof(ticks)) != sizeof(ticks)) in waittmr() 170 return ticks; in waittmr() 176 long ticks; in main() local 211 ticks = waittmr(tfd, -1); in main() 213 if (ticks <= 0) in main() 217 ticks, (ttmr - tnow) * 1e-6); in main() 231 ticks = waittmr(tfd, -1); in main() 233 if (ticks <= 0) in main() 237 ticks, (ttmr - tnow) * 1e-6); in main() [all …]
|
D | 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/v8/src/ |
D | runtime-profiler.cc | 165 int ticks = shared_function_info->profiler_ticks(); in OptimizeNow() local 166 if (ticks < Smi::kMaxValue) { in OptimizeNow() 167 shared_function_info->set_profiler_ticks(ticks + 1); in OptimizeNow() 183 int ticks = shared_code->profiler_ticks(); in OptimizeNow() local 186 static_cast<int64_t>(ticks) * kOSRCodeSizeAllowancePerTick; in OptimizeNow() 188 ticks < Code::ProfilerTicksField::kMax) { in OptimizeNow() 189 shared_code->set_profiler_ticks(ticks + 1); in OptimizeNow() 210 int ticks = shared_code->profiler_ticks(); in OptimizeNow() local 211 if (ticks >= kProfilerTicksBeforeReenablingOptimization) { in OptimizeNow() 215 shared_code->set_profiler_ticks(ticks + 1); in OptimizeNow() [all …]
|
/external/webrtc/webrtc/system_wrappers/source/ |
D | tick_util.cc | 44 int64_t TickTime::TicksToMilliseconds(const int64_t ticks) { in TicksToMilliseconds() argument 46 return ticks; in TicksToMilliseconds() 48 return ticks / 1000000LL; in TicksToMilliseconds() 57 return ticks * timebase_microsecond_fract; in TicksToMilliseconds() 59 return ticks; in TicksToMilliseconds() 63 int64_t TickTime::TicksToMicroseconds(const int64_t ticks) { in TicksToMicroseconds() argument 65 return ticks * 1000LL; in TicksToMicroseconds() 67 return ticks / 1000LL; in TicksToMicroseconds() 76 return ticks * timebase_microsecond_fract; in TicksToMicroseconds() 78 return ticks; in TicksToMicroseconds()
|
/external/libdrm/tests/ttmtest/src/ |
D | ttmtest.c | 170 unsigned long *ticks) in benchmarkBuffer() argument 186 *ticks++ = time_diff(oldTime, curTime); in benchmarkBuffer() 192 *ticks++ = time_diff(oldTime, curTime); in benchmarkBuffer() 197 *ticks++ = time_diff(oldTime, curTime); in benchmarkBuffer() 202 *ticks++ = time_diff(oldTime, curTime); in benchmarkBuffer() 207 *ticks++ = time_diff(oldTime, curTime); in benchmarkBuffer() 212 *ticks++ = time_diff(oldTime, curTime); in benchmarkBuffer() 224 *ticks++ = time_diff(oldTime, curTime); in benchmarkBuffer() 230 *ticks++ = time_diff(oldTime, curTime); in benchmarkBuffer() 235 *ticks++ = time_diff(oldTime, curTime); in benchmarkBuffer() [all …]
|
/external/sonivox/arm-wt-22k/lib_src/ |
D | eas_smf.c | 60 static void SMF_UpdateTime (S_SMF_DATA *pSMFData, EAS_U32 ticks); 276 EAS_U32 ticks; in SMF_Event() local 290 ticks = pSMFData->nextStream->ticks; in SMF_Event() 309 pSMFData->nextStream->ticks = SMF_END_OF_TRACK; in SMF_Event() 313 else if (pSMFData->nextStream->ticks != SMF_END_OF_TRACK) in SMF_Event() 322 pSMFData->nextStream->ticks = SMF_END_OF_TRACK; in SMF_Event() 326 else if (pSMFData->nextStream->ticks == ticks) in SMF_Event() 338 if (pSMFData->streams[i].ticks < temp) in SMF_Event() 340 temp = pSMFData->streams[i].ticks; in SMF_Event() 351 SMF_UpdateTime(pSMFData, pSMFData->nextStream->ticks - ticks); in SMF_Event() [all …]
|
/external/v8/test/mjsunit/tools/ |
D | tickprocessor-test.gc-state | 1 Statistical profiling result from v8.log, (13 ticks, 0 unaccounted, 13 excluded). 4 ticks total nonlib name 7 ticks total nonlib name 10 ticks total nonlib name 13 ticks total nonlib name 20 ticks cpp total name 27 ticks parent name
|
D | tickprocessor-test.func-info | 1 Statistical profiling result from v8.log, (3 ticks, 0 unaccounted, 0 excluded). 4 ticks total nonlib name 7 ticks total nonlib name 12 ticks total nonlib name 15 ticks total nonlib name 22 ticks cpp total name 29 ticks parent name
|
D | tickprocessor-test.ignore-unknown | 1 Statistical profiling result from v8.log, (13 ticks, 2 unaccounted, 0 excluded). 4 ticks total nonlib name 9 ticks total nonlib name 12 ticks total nonlib name 19 ticks total nonlib name 26 ticks cpp total name 37 ticks parent name
|
D | tickprocessor-test.default | 1 Statistical profiling result from v8.log, (13 ticks, 2 unaccounted, 0 excluded). 4 ticks total nonlib name 9 ticks total nonlib name 12 ticks total nonlib name 19 ticks total nonlib name 27 ticks cpp total name 38 ticks parent name
|
D | tickprocessor-test.separate-ic | 1 Statistical profiling result from v8.log, (13 ticks, 2 unaccounted, 0 excluded). 4 ticks total nonlib name 9 ticks total nonlib name 14 ticks total nonlib name 21 ticks total nonlib name 29 ticks cpp total name 40 ticks parent name
|
/external/webrtc/webrtc/system_wrappers/include/ |
D | tick_util.h | 41 explicit TickTime(int64_t ticks); 57 static int64_t TicksToMilliseconds(const int64_t ticks); 59 static int64_t TicksToMicroseconds(const int64_t ticks); 62 friend TickTime operator+(const TickTime lhs, const int64_t ticks); 63 TickTime& operator+=(const int64_t& ticks); 128 inline TickTime operator+(const TickTime lhs, const int64_t ticks) { 130 time.ticks_ += ticks; 154 inline TickTime::TickTime(int64_t ticks) in TickTime() argument 155 : ticks_(ticks) { in TickTime() 166 inline TickTime& TickTime::operator+=(const int64_t& ticks) { [all …]
|
/external/skia/experimental/SkV8Example/js/ |
D | sample.js | 5 var ticks = 0; 11 ticks += 1; 14 context.rotate(ticks/10); 21 console.log(ticks); 22 ticks = 0;
|
D | snow.js | 21 var ticks = 0; 66 ticks++; 73 console.log(ticks); 74 ticks = 0;
|
/external/fio/ |
D | diskutil.c | 69 (unsigned long long *) &dus->s.ticks[0], in get_io_ticks() 73 (unsigned long long *) &dus->s.ticks[1], in get_io_ticks() 103 dus->s.ticks[0] += (__dus.s.ticks[0] - ldus->s.ticks[0]); in update_io_tick_disk() 104 dus->s.ticks[1] += (__dus.s.ticks[1] - ldus->s.ticks[1]); in update_io_tick_disk() 511 (unsigned long long) agg->ticks[0] / agg->slavecount, in show_agg_stats() 512 (unsigned long long) agg->ticks[1] / agg->slavecount, in show_agg_stats() 521 (unsigned long long) agg->ticks[0] / agg->slavecount, in show_agg_stats() 522 (unsigned long long) agg->ticks[1] / agg->slavecount, in show_agg_stats() 545 agg->ticks[0] += dus->s.ticks[0]; in aggregate_slaves_stats() 546 agg->ticks[1] += dus->s.ticks[1]; in aggregate_slaves_stats() [all …]
|
/external/v8/src/base/platform/ |
D | time.cc | 162 TimeTicks ticks = GetSystemTicks(); in Now() local 167 TimeDelta elapsed = ticks - initial_ticks_; in Now() 169 initial_ticks_ = ticks; in Now() 421 int64_t ticks = (whole_seconds * Time::kMicrosecondsPerSecond) + in Now() local 426 return ticks + 1; in Now() 504 TimeTicks ticks(tick_clock.Pointer()->Now()); in Now() local 505 DCHECK(!ticks.IsNull()); in Now() 506 return ticks; in Now() 512 TimeTicks ticks(high_res_tick_clock.Pointer()->Now()); in HighResolutionNow() local 513 DCHECK(!ticks.IsNull()); in HighResolutionNow() [all …]
|
/external/chromium-trace/catapult/telemetry/telemetry/web_perf/metrics/ |
D | webrtc_rendering_stats.py | 145 for ticks in cadence: 146 ticks_so_far = frame_distribution.setdefault(ticks, 0) 147 frame_distribution[ticks] = ticks_so_far + 1 164 number_vsyncs = sum([ticks * frame_distribution[ticks] 165 for ticks in frame_distribution]) 185 frozen_frame_vsyncs = [ticks for ticks in frame_distribution if ticks >=
|
/external/mdnsresponder/mDNSPosix/ |
D | PosixDaemon.c | 153 mDNSs32 ticks; in MainLoop() local 160 ticks = nextTimerEvent - mDNS_TimeNow(m); in MainLoop() 161 if (ticks < 1) ticks = 1; in MainLoop() 164 ticks = 0; in MainLoop() 166 timeout.tv_sec = ticks / mDNSPlatformOneSecond; in MainLoop() 167 timeout.tv_usec = (ticks % mDNSPlatformOneSecond) * 1000000 / mDNSPlatformOneSecond; in MainLoop()
|
/external/webrtc/webrtc/base/ |
D | timeutils.cc | 38 int64_t ticks = 0; in TimeNanos() local 49 ticks = mach_absolute_time() * timebase.numer / timebase.denom; in TimeNanos() 55 ticks = kNumNanosecsPerSec * static_cast<int64_t>(ts.tv_sec) + in TimeNanos() 73 ticks = now + (num_wrap_timegettime << 32); in TimeNanos() 76 ticks = ticks * kNumNanosecsPerMillisec; in TimeNanos() 78 return ticks; in TimeNanos()
|
/external/skia/src/core/ |
D | SkTime.cpp | 73 uint64_t ticks = __rdtsc(); in GetNSecs() local 74 return ticks * *ns_per_tick.get([]{ in GetNSecs() 85 uint64_t ticks = mach_absolute_time(); in GetNSecs() local 86 return ticks * *ns_per_tick.get([]{ in GetNSecs()
|
/external/v8/tools/ |
D | ll_prof.py | 736 self.ticks = {} 765 mmap_info.ticks = 0 826 mmap_info.ticks += 1 859 def PrintReport(code_map, library_repo, arch, ticks, options): argument 865 print "%10d %5.1f%% %s [%s]" % (code_ticks, 100. * code_ticks / ticks, 871 mmap_infos = [m for m in library_repo.infos if m.ticks > 0] 872 mmap_infos.sort(key=lambda m: m.ticks, reverse=True) 874 mmap_ticks = mmap_info.ticks 875 print "%10d %5.1f%% %s" % (mmap_ticks, 100. * mmap_ticks / ticks, 886 for callee, ticks in code.callee_ticks.iteritems(): [all …]
|
D | profile.js | 403 Profile.CEntryNode = function(name, ticks) { argument 405 this.ticks = ticks; 413 var ticks = this.c_entries_[f]; 414 total_ticks += ticks; 415 result.push(new Profile.CEntryNode(f, ticks)); 417 result[0].ticks = total_ticks; // Sorting will keep this at index 0. 419 return n2.ticks - n1.ticks || (n2.name < n1.name ? -1 : 1)
|