Searched refs:abs (Results 1 – 17 of 17) sorted by relevance
| /xnu-11215/tests/ |
| H A D | mach_continuous_time.c | 120 …T_ASSERT_LE(abs(after_diff - before_diff), 1, "mach_continuous_time and mach_absolute_time should … 125 update_kern(uint64_t *abs, uint64_t *cont) in update_kern() argument 134 *abs = abs2; in update_kern() 157 …T_ASSERT_LE(abs(after_diff - before_diff), 1, "mach_continuous_time_kernel and mach_absolute_time_… 205 if (abs(before_diff - after_diff) > 2) { 227 T_ASSERT_LE(abs(ct_sleep_diff - cal_sleep_diff), 2, 254 T_ASSERT_LT(abs(before - after), 1000, "mach_continuous_time should not jump more than 1s"); 281 T_ASSERT_LT(abs(before - after), 1000, "mach_continuous_time_kernel should not jump more than 1s");
|
| H A D | select_stress.c | 50 abs_to_ns(uint64_t abs) in abs_to_ns() argument 52 return abs * g_timebase.numer / g_timebase.denom; in abs_to_ns()
|
| H A D | work_interval_data_test.c | 37 abs_to_nanos(uint64_t abs) in abs_to_nanos() argument 39 return abs * timebase_info.numer / timebase_info.denom; in abs_to_nanos()
|
| H A D | kqueue_timer_tests.c | 27 abs_to_nanos(uint64_t abs) in abs_to_nanos() argument 29 return abs * timebase_info.numer / timebase_info.denom; in abs_to_nanos()
|
| H A D | cpucount.c | 91 abs_to_nanos(uint64_t abs) in abs_to_nanos() argument 93 return abs * timebase_info.numer / timebase_info.denom; in abs_to_nanos()
|
| H A D | setitimer.c | 100 abs_to_nanos(uint64_t abs) in abs_to_nanos() argument 102 return abs * timebase_info.numer / timebase_info.denom; in abs_to_nanos()
|
| /xnu-11215/tests/sched/ |
| H A D | sched_test_utils.h | 14 uint64_t abs_to_nanos(uint64_t abs);
|
| H A D | sched_test_utils.c | 42 abs_to_nanos(uint64_t abs) in abs_to_nanos() argument 50 return abs * timebase_info.numer / timebase_info.denom; in abs_to_nanos()
|
| /xnu-11215/tools/trace/ |
| H A D | bridgetime.lua | 122 local diff = (math.abs(buf[2] - buf[3]))/1000000
|
| /xnu-11215/tools/tests/MPMMTest/ |
| H A D | MPMMtest.c | 105 abs_to_ns(uint64_t abs) in abs_to_ns() argument 107 return abs * g_timebase.numer / g_timebase.denom; in abs_to_ns()
|
| /xnu-11215/osfmk/kern/ |
| H A D | clock.c | 251 bintime2absolutetime(const struct bintime *_bt, uint64_t *abs) in bintime2absolutetime() argument 255 nanoseconds_to_absolutetime(nsec, abs); in bintime2absolutetime()
|
| /xnu-11215/tools/lldbmacros/ |
| H A D | log.py | 623 n = min(abs(count), len(msgbuf))
|
| H A D | kasan.py | 785 n = min(abs(n), len(qitems))
|
| H A D | net.py | 2172 …_format.format(cnt, rxseg, rxseg.rx_start, rxseg.rx_end, rxseg.rx_count, rxseg.rx_flags, abs(span))
|
| H A D | kcdata.py | 1805 s += "waitpid, for process group %d" % abs(owner - 2**64)
|
| H A D | memory.py | 1712 if abs(vnode.v_name) != 0:
|
| /xnu-11215/tools/lldbmacros/core/ |
| H A D | cvalue.py | 289 return abs(int(self))
|