Searched refs:numer (Results 1 - 9 of 9) sorted by relevance
/darwin-on-arm/xnu/osfmk/mach/ |
H A D | mach_time.h | 37 uint32_t numer; member in struct:mach_timebase_info
|
/darwin-on-arm/xnu/tools/tests/xnu_quick_test/ |
H A D | sched_tests.c | 27 nanos_to_abs(uint64_t ns, uint32_t numer, uint32_t denom) argument 29 return (uint64_t)(ns * (((double)denom) / ((double)numer))); 44 pol.period = nanos_to_abs(1000000000, mti.numer, mti.denom); 45 pol.constraint = nanos_to_abs(100000000, mti.numer, mti.denom); 46 pol.computation = nanos_to_abs(10000000, mti.numer, mti.denom);
|
/darwin-on-arm/xnu/tools/tests/jitter/ |
H A D | timer_jitter.c | 114 pol.constraint = CONSTRAINT_NANOS * g_mti.denom / g_mti.numer; 115 pol.computation = COMPUTATION_NANOS * g_mti.denom / g_mti.numer; 193 printf("Max %s: %.1lfus\n", label, max / 1000.0 * (((double)g_mti.numer) / ((double)g_mti.denom))); 194 printf("Min %s: %.1lfus\n", label, min / 1000.0 * (((double)g_mti.numer) / ((double)g_mti.denom))); 195 printf("Avg magnitude of %s: %.1lfus\n", label, avg / 1000.0 * (((double)g_mti.numer) / ((double)g_mti.denom))); 196 printf("Stddev: %.1lfus\n", stddev / 1000.0 * (((double)g_mti.numer) / ((double)g_mti.denom))); 362 sleep_length_abs = (uint64_t) (get_random_sleep_length_abs_ns(min_sleep_ns, max_sleep_ns) * (((double)g_mti.denom) / ((double)g_mti.numer)));
|
/darwin-on-arm/xnu/tools/tests/libMicro/ |
H A D | libmicro.c | 86 // return (elapsed * (long long)sTimebaseInfo.numer)/(long long)sTimebaseInfo.denom; 90 if (sTimebaseInfo.denom == sTimebaseInfo.numer) 93 return elapsed * (long long)sTimebaseInfo.numer; 99 long long numer = sTimebaseInfo.numer, denom = sTimebaseInfo.denom; local 101 // Form product of elapsed64 (decomposed) and numer: 102 long long mu64 = numer * eta32; 103 long long lambda64 = numer * eps32;
|
/darwin-on-arm/xnu/bsd/dev/dtrace/ |
H A D | dtrace_glue.c | 1085 * return (elapsed * (uint64_t)sTimebaseInfo.numer)/(uint64_t)sTimebaseInfo.denom; 1090 if (sTimebaseInfo.denom == sTimebaseInfo.numer) 1093 return elapsed * (uint64_t)sTimebaseInfo.numer; 1099 uint32_t numer = sTimebaseInfo.numer, denom = sTimebaseInfo.denom; local 1101 /* Form product of elapsed64 (decomposed) and numer: */ 1102 uint64_t mu64 = numer * eta32; 1103 uint64_t lambda64 = numer * eps32;
|
/darwin-on-arm/xnu/tools/tests/zero-to-n/ |
H A D | zero-to-n.c | 98 return (uint64_t)(abstime * (((double)g_mti.numer) / ((double)g_mti.denom))); 104 return (uint64_t)(ns * (((double)g_mti.denom) / ((double)g_mti.numer)));
|
/darwin-on-arm/xnu/osfmk/arm/ |
H A D | rtclock.c | 332 info->numer = info->denom = 1;
|
/darwin-on-arm/xnu/osfmk/i386/ |
H A D | rtclock.c | 443 info->numer = info->denom = 1;
|
/darwin-on-arm/xnu/bsd/vfs/ |
H A D | vfs_fsevents.c | 448 if (sTimebaseInfo.denom != sTimebaseInfo.numer) { 450 elapsed *= sTimebaseInfo.numer; 455 elapsed = (elapsed * sTimebaseInfo.numer) / (uint64_t)sTimebaseInfo.denom;
|
Completed in 96 milliseconds