Searched refs:elapsed (Results 1 - 9 of 9) sorted by relevance

/darwin-on-arm/xnu/bsd/miscfs/specfs/
H A Dspec_vnops.c869 struct timeval elapsed; local
882 microuptime(&elapsed);
883 timevalsub(&elapsed, &info->throttle_last_IO_timestamp[throttle_level]);
884 elapsed_msecs = (uint64_t)elapsed.tv_sec * (uint64_t)1000 + (elapsed.tv_usec / 1000);
924 struct timeval elapsed; local
933 microuptime(&elapsed);
934 timevalsub(&elapsed, &info->throttle_start_IO_period_timestamp);
935 elapsed_msecs = (uint64_t)elapsed.tv_sec * (uint64_t)1000 + (elapsed
1248 struct timeval elapsed; local
1568 struct timeval elapsed; local
[all...]
/darwin-on-arm/xnu/osfmk/kern/
H A Dsched_fixedpriority.c752 uint64_t elapsed = thread->last_run_time - thread->last_quantum_refill_time; local
759 if ((elapsed < 2 * sched_fixedpriority_quantum) && (thread->bound_processor == PROCESSOR_NULL)) {
765 MACHDBG_CODE(DBG_MACH_SCHED,MACH_FAIRSHARE_ENTER) | DBG_FUNC_NONE, (uintptr_t)thread_tid(thread), (uint32_t)(elapsed & 0xFFFFFFFF), (uint32_t)(elapsed >> 32), 0, 0);
H A Dledger.c493 uint64_t elapsed, period, periods; local
518 elapsed = now - le->le_last_refill;
519 if ((period == 0) || (elapsed < period)) {
529 while ((periods < 2) && (elapsed > 0)) {
531 elapsed -= period;
538 if (elapsed > 0)
/darwin-on-arm/xnu/tools/tests/libMicro/
H A Dlibmicro.c69 long long elapsed; local
83 elapsed = mach_absolute_time() - start;
86 // return (elapsed * (long long)sTimebaseInfo.numer)/(long long)sTimebaseInfo.denom;
91 return elapsed;
93 return elapsed * (long long)sTimebaseInfo.numer;
95 // Decompose elapsed = eta32 * 2^32 + eps32:
96 long long eta32 = elapsed >> 32;
97 long long eps32 = elapsed & 0x00000000ffffffffLL;
/darwin-on-arm/xnu/bsd/dev/dtrace/
H A Ddtrace_glue.c1068 dtrace_abs_to_nano(uint64_t elapsed) argument
1085 * return (elapsed * (uint64_t)sTimebaseInfo.numer)/(uint64_t)sTimebaseInfo.denom;
1091 return elapsed;
1093 return elapsed * (uint64_t)sTimebaseInfo.numer;
1095 /* Decompose elapsed = eta32 * 2^32 + eps32: */
1096 uint64_t eta32 = elapsed >> 32;
1097 uint64_t eps32 = elapsed & 0x00000000ffffffffLL;
/darwin-on-arm/xnu/bsd/vfs/
H A Dvfs_fsevents.c387 uint64_t now, elapsed; local
447 elapsed = (now - last_coalesced_time);
450 elapsed *= sTimebaseInfo.numer;
455 elapsed = (elapsed * sTimebaseInfo.numer) / (uint64_t)sTimebaseInfo.denom;
460 && (elapsed < 1000000000)
H A Dvfs_cluster.c511 struct timeval elapsed; local
516 microuptime(&elapsed);
517 timevalsub(&elapsed, &priority_IO_timestamp_for_root);
519 if (timevalcmp(&elapsed, &hard_throttle_maxelapsed, <))
/darwin-on-arm/xnu/bsd/kern/
H A Dpthread_synch.c577 uint64_t elapsed; local
604 elapsed = cur_ts - lastblocked_ts;
606 absolutetime_to_microtime(elapsed, &secs, &usecs);
799 uint64_t elapsed; local
815 elapsed = curtime - wq->wq_thread_yielded_timestamp;
816 absolutetime_to_microtime(elapsed, &secs, &usecs);
/darwin-on-arm/xnu/iokit/Kernel/
H A DIOPMrootDomain.cpp1962 // The time between the sleep idle timeout and the next longest one has elapsed.
3902 clock_sec_t elapsed = now_secs - _standbyTimerResetSeconds; local
3903 if (standbyDelay > elapsed)
3904 standbyDelay -= elapsed;
3908 DLOG("standby delay %u, elapsed %u\n",
3909 standbyDelay, (uint32_t) elapsed);

Completed in 135 milliseconds