| /xnu-8020.101.4/osfmk/arm/ |
| H A D | arm_timer.c | 267 .timer_resort_threshold_ns = 50 * NSEC_PER_MSEC, 274 .timer_coalesce_bg_ns_max = 100 * NSEC_PER_MSEC, 275 .timer_coalesce_kt_ns_max = 1 * NSEC_PER_MSEC, 276 .timer_coalesce_fp_ns_max = 1 * NSEC_PER_MSEC, 277 .timer_coalesce_ts_ns_max = 1 * NSEC_PER_MSEC, 280 .latency_qos_ns_max = {1 * NSEC_PER_MSEC, 5 * NSEC_PER_MSEC, 20 * NSEC_PER_MSEC, 281 75 * NSEC_PER_MSEC, 1 * NSEC_PER_MSEC, 1 * NSEC_PER_MSEC}, 285 .latency_qos_ns_max = {1 * NSEC_PER_MSEC, 5 * NSEC_PER_MSEC, 20 * NSEC_PER_MSEC, 286 75 * NSEC_PER_MSEC, 10000 * NSEC_PER_MSEC, 10000 * NSEC_PER_MSEC},
|
| /xnu-8020.101.4/osfmk/i386/ |
| H A D | i386_timer.c | 304 #define TIMER_RESORT_THRESHOLD_ABSTIME (50 * NSEC_PER_MSEC) 434 .timer_resort_threshold_ns = 50 * NSEC_PER_MSEC, 441 .timer_coalesce_bg_ns_max = 100 * NSEC_PER_MSEC, 442 .timer_coalesce_kt_ns_max = 1 * NSEC_PER_MSEC, 443 .timer_coalesce_fp_ns_max = 1 * NSEC_PER_MSEC, 444 .timer_coalesce_ts_ns_max = 1 * NSEC_PER_MSEC, 446 .latency_qos_ns_max = {1 * NSEC_PER_MSEC, 5 * NSEC_PER_MSEC, 20 * NSEC_PER_MSEC, 447 75 * NSEC_PER_MSEC, 10000 * NSEC_PER_MSEC, 10000 * NSEC_PER_MSEC},
|
| H A D | lapic_native.c | 1078 (mach_absolute_time() - now) < (10 * NSEC_PER_MSEC)) { in lapic_send_nmi()
|
| /xnu-8020.101.4/osfmk/kperf/ |
| H A D | kptimer.c | 117 [KTPL_BG] = 1 * NSEC_PER_MSEC, 118 [KTPL_FG_PET] = 2 * NSEC_PER_MSEC, 119 [KTPL_BG_PET] = 5 * NSEC_PER_MSEC, 122 [KTPL_BG] = 1 * NSEC_PER_MSEC, 123 [KTPL_FG_PET] = 2 * NSEC_PER_MSEC, 124 [KTPL_BG_PET] = 10 * NSEC_PER_MSEC, 127 [KTPL_BG] = 10 * NSEC_PER_MSEC, 128 [KTPL_FG_PET] = 2 * NSEC_PER_MSEC, 129 [KTPL_BG_PET] = 50 * NSEC_PER_MSEC,
|
| /xnu-8020.101.4/osfmk/tests/ |
| H A D | test_thread_call.c | 123 delay_for_interval(10, NSEC_PER_MSEC); in test_once_thread_call() 186 clock_interval_to_deadline(10, NSEC_PER_MSEC, &deadline); in test_signal_thread_call() 191 delay_for_interval(50, NSEC_PER_MSEC); in test_signal_thread_call()
|
| /xnu-8020.101.4/tests/ktrace/ |
| H A D | kperf_helpers.c | 38 kperf_ns_to_ticks(period_ms * NSEC_PER_MSEC)), NULL); in configure_kperf_stacks_timer()
|
| H A D | kpc_tests.c | 504 PERIODIC_CPU_COUNT_MS * NSEC_PER_MSEC), 505 PERIODIC_CPU_COUNT_MS * NSEC_PER_MSEC, 0);
|
| H A D | kperf_tests.c | 65 #define TIMER_PERIOD_NS (1 * NSEC_PER_MSEC)
|
| /xnu-8020.101.4/osfmk/x86_64/ |
| H A D | machine_remote_time.c | 44 #define DELAY_INTERVAL_NS (50 * NSEC_PER_MSEC)
|
| /xnu-8020.101.4/osfmk/mach/ |
| H A D | clock_types.h | 87 #define NSEC_PER_MSEC 1000000ull /* nanoseconds per millisecond */ macro
|
| /xnu-8020.101.4/tests/ |
| H A D | kqueue_timer_tests.c | 420 test_absolute_kevent((int)nanos_to_abs(10 * NSEC_PER_MSEC), NOTE_MACHTIME); 433 test_oneshot_kevent((int)nanos_to_abs(10 * NSEC_PER_MSEC), NOTE_MACHTIME);
|
| H A D | mach_continuous_time.c | 293 …T_EXPECT_LE(llabs((long long)absolute - (long long)approximate), (long long)(25 * NSEC_PER_MSEC), …
|
| H A D | turnstile_multihop.c | 151 uint64_t end = start + nanoseconds_to_absolutetime(900ULL * NSEC_PER_MSEC); in sched_load_thread()
|
| H A D | net_tuntests.c | 996 struct timespec to = { 0, 100 * NSEC_PER_MSEC }; // 100 ms in xfer_1_packet_singly() 1084 struct timespec to = { 0, 100 * NSEC_PER_MSEC }; // 100 ms in xfer_1_packet_together()
|
| /xnu-8020.101.4/osfmk/kern/ |
| H A D | syscall_subr.c | 206 uint32_t scale_factor = NSEC_PER_MSEC; in thread_switch() 463 clock_interval_to_absolutetime_interval(interval, NSEC_PER_MSEC, &abstime); in thread_depress_ms()
|
| H A D | hazard.c | 616 delay_for_interval(1, NSEC_PER_MSEC); in hazard_basic_test() 637 delay_for_interval(10, NSEC_PER_MSEC); in hazard_basic_test()
|
| H A D | timer_call.c | 1501 longterm * NSEC_PER_MSEC; in timer_longterm_init() 1505 tlp->threshold.interval / NSEC_PER_MSEC); in timer_longterm_init() 1507 tlp->threshold.interval / NSEC_PER_MSEC); in timer_longterm_init() 1539 0 : tlp->threshold.interval / NSEC_PER_MSEC; in timer_sysctl_get() 1635 tlp->threshold.interval = value * NSEC_PER_MSEC; in timer_sysctl_set_threshold()
|
| H A D | telemetry.c | 1425 …clock_interval_to_absolutetime_interval(bootprofile_interval_ms, NSEC_PER_MSEC, &bootprofile_inter… in bootprofile_init()
|
| /xnu-8020.101.4/bsd/net/pktsched/ |
| H A D | pktsched_netem.c | 901 clock_interval_to_deadline(delay_ms, NSEC_PER_MSEC, &time_to_send); in latency_event() 1178 clock_interval_to_deadline(1, NSEC_PER_MSEC, &deadline); in netem_output_thread_cont() 1239 uint64_t f = (1 * NSEC_PER_MSEC); /* 1 ms */ in netem_destroy() 1240 uint64_t s = (1000 * NSEC_PER_MSEC); /* 1 sec */ in netem_destroy()
|
| /xnu-8020.101.4/osfmk/arm64/ |
| H A D | cpu.c | 231 if ((delta / NSEC_PER_MSEC) > timeout_ms) { in arm64_ipi_test() 245 if ((delta / NSEC_PER_MSEC) > timeout_ms) { in arm64_ipi_test() 1182 nanoseconds_to_absolutetime(((wfi >> 16) & 0xFFFF) * NSEC_PER_MSEC, &wfi_delay); in cpu_machine_idle_init()
|
| /xnu-8020.101.4/bsd/skywalk/nexus/netif/ |
| H A D | nx_netif_mit.c | 584 clock_interval_to_deadline(1, NSEC_PER_MSEC, in nx_netif_mit_s_thread_cont() 701 clock_interval_to_deadline(1, NSEC_PER_MSEC, in nx_netif_mit_thread_cont()
|
| /xnu-8020.101.4/bsd/net/classq/ |
| H A D | classq_subr.c | 735 ival = pktsched_nsecs_to_abstime(10 * NSEC_PER_MSEC); /* 10ms */ in ifclassq_tbr_set()
|
| /xnu-8020.101.4/iokit/Kernel/ |
| H A D | IOPMrootDomain.cpp | 946 millis = nano / NSEC_PER_MSEC; in halt_log_enter() 977 millis = nano / NSEC_PER_MSEC; in IOSystemShutdownNotification() 990 millis = nano / NSEC_PER_MSEC; in IOSystemShutdownNotification() 1163 return (UInt32)(nano / NSEC_PER_MSEC); in computeDeltaTimeMS() 4197 ((int)((nsec) / NSEC_PER_MSEC))); in willTellSystemCapabilityDidChange() 6675 ((int)((nsec) / NSEC_PER_MSEC))); in overridePowerChangeForService() 8879 fullWakeReason, ((int)((nsec) / NSEC_PER_MSEC))); in requestFullWake() 9055 IOLog("PMStats: Hibernate write took %qd ms\n", delta / NSEC_PER_MSEC); in pmStatsRecordEvent() 9067 IOLog("PMStats: Hibernate read took %qd ms\n", delta / NSEC_PER_MSEC); in pmStatsRecordEvent() 11090 (maxAssertCPUDuration / NSEC_PER_MSEC), maxAssertCPUEntryId); in reportCPUBitAccounting() [all …]
|
| /xnu-8020.101.4/bsd/netinet/ |
| H A D | mptcp_usrreq.c | 1819 nanoseconds = nanoseconds - (mptcp_expected_progress_headstart * NSEC_PER_MSEC); in mptcp_setopt() 1831 time_now_nanoseconds > nanoseconds - (mptcp_expected_progress_headstart * NSEC_PER_MSEC)) { in mptcp_setopt()
|
| /xnu-8020.101.4/bsd/kern/ |
| H A D | kern_lockf.c | 629 .tv_nsec = 2 * NSEC_PER_MSEC, in lf_setlock()
|