| /xnu-12377.61.12/osfmk/arm/ |
| H A D | arm_timer.c | 280 .timer_resort_threshold_ns = 50 * NSEC_PER_MSEC, 287 .timer_coalesce_bg_ns_max = 100 * NSEC_PER_MSEC, 288 .timer_coalesce_kt_ns_max = 1 * NSEC_PER_MSEC, 289 .timer_coalesce_fp_ns_max = 1 * NSEC_PER_MSEC, 290 .timer_coalesce_ts_ns_max = 1 * NSEC_PER_MSEC, 293 .latency_qos_ns_max = {1 * NSEC_PER_MSEC, 5 * NSEC_PER_MSEC, 20 * NSEC_PER_MSEC, 294 75 * NSEC_PER_MSEC, 1 * NSEC_PER_MSEC, 1 * NSEC_PER_MSEC}, 298 .latency_qos_ns_max = {1 * NSEC_PER_MSEC, 5 * NSEC_PER_MSEC, 20 * NSEC_PER_MSEC, 299 75 * NSEC_PER_MSEC, 10000 * NSEC_PER_MSEC, 10000 * NSEC_PER_MSEC},
|
| /xnu-12377.61.12/osfmk/i386/ |
| H A D | i386_timer.c | 313 #define TIMER_RESORT_THRESHOLD_ABSTIME (50 * NSEC_PER_MSEC) 443 .timer_resort_threshold_ns = 50 * NSEC_PER_MSEC, 450 .timer_coalesce_bg_ns_max = 100 * NSEC_PER_MSEC, 451 .timer_coalesce_kt_ns_max = 1 * NSEC_PER_MSEC, 452 .timer_coalesce_fp_ns_max = 1 * NSEC_PER_MSEC, 453 .timer_coalesce_ts_ns_max = 1 * NSEC_PER_MSEC, 455 .latency_qos_ns_max = {1 * NSEC_PER_MSEC, 5 * NSEC_PER_MSEC, 20 * NSEC_PER_MSEC, 456 75 * NSEC_PER_MSEC, 10000 * NSEC_PER_MSEC, 10000 * NSEC_PER_MSEC},
|
| H A D | lapic_native.c | 1065 (mach_absolute_time() - now) < (10 * NSEC_PER_MSEC)) { in lapic_send_nmi()
|
| /xnu-12377.61.12/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-12377.61.12/osfmk/kperf/ |
| H A D | kptimer.c | 117 [KTPL_BG] = 1 * NSEC_PER_MSEC, 118 [KTPL_FG_PET] = 1 * NSEC_PER_MSEC, 119 [KTPL_BG_PET] = 1 * NSEC_PER_MSEC, 122 [KTPL_BG] = 1 * NSEC_PER_MSEC, 123 [KTPL_FG_PET] = 1 * NSEC_PER_MSEC, 124 [KTPL_BG_PET] = 1 * NSEC_PER_MSEC,
|
| /xnu-12377.61.12/tests/ktrace/ |
| H A D | kperf_helpers.c | 38 kperf_ns_to_ticks(period_ms * NSEC_PER_MSEC)), NULL); in configure_kperf_stacks_timer()
|
| /xnu-12377.61.12/osfmk/x86_64/ |
| H A D | machine_remote_time.c | 44 #define DELAY_INTERVAL_NS (50 * NSEC_PER_MSEC)
|
| /xnu-12377.61.12/osfmk/mach/ |
| H A D | clock_types.h | 87 #define NSEC_PER_MSEC 1000000ull /* nanoseconds per millisecond */ macro
|
| /xnu-12377.61.12/tests/sched/ |
| H A D | rttimer.c | 36 uint64_t waitEnd = 8ULL * NSEC_PER_MSEC; 46 uint64_t wasteCPUTimeQuanta = 10ULL * NSEC_PER_MSEC;
|
| /xnu-12377.61.12/bsd/netinet/ |
| H A D | tcp_pacing.c | 117 return (uint32_t)(*tx_time - now) / NSEC_PER_MSEC; in tcp_pacer_get_packet_tx_time()
|
| /xnu-12377.61.12/bsd/net/pktsched/ |
| H A D | pktsched_netem.c | 982 NSEC_PER_MSEC, &abs_interval); in latency_event() 1281 clock_interval_to_deadline(delay_ms, NSEC_PER_MSEC, &deadline); in netem_output_thread_cont() 1307 clock_interval_to_deadline(1, NSEC_PER_MSEC, &wakeup); in netem_output_thread_func() 1351 uint64_t f = (1 * NSEC_PER_MSEC); /* 1 ms */ in netem_destroy() 1352 uint64_t s = (1000 * NSEC_PER_MSEC); /* 1 sec */ in netem_destroy()
|
| /xnu-12377.61.12/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 | net_tuntests.c | 841 struct timespec to = { 0, 100 * NSEC_PER_MSEC }; // 100 ms in xfer_1_packet_singly() 929 struct timespec to = { 0, 100 * NSEC_PER_MSEC }; // 100 ms in xfer_1_packet_together()
|
| 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 | arm_mte_compress.c | 488 T_LOG("perf compress took: %llu msec", elapsed / NSEC_PER_MSEC); 517 T_LOG("perf decompress took: %llu msec", elapsed / NSEC_PER_MSEC);
|
| /xnu-12377.61.12/osfmk/kern/ |
| H A D | syscall_subr.c | 208 uint32_t scale_factor = NSEC_PER_MSEC; in thread_switch() 473 clock_interval_to_absolutetime_interval(interval, NSEC_PER_MSEC, &abstime); in thread_depress_ms()
|
| H A D | bootprofile.c | 115 …clock_interval_to_absolutetime_interval(bootprofile_interval_ms, NSEC_PER_MSEC, &bootprofile_inter… in _bootprofile_init()
|
| H A D | timer_call.c | 1587 longterm * NSEC_PER_MSEC; in timer_longterm_init() 1591 tlp->threshold.interval / NSEC_PER_MSEC); in timer_longterm_init() 1593 tlp->threshold.interval / NSEC_PER_MSEC); in timer_longterm_init() 1627 0 : tlp->threshold.interval / NSEC_PER_MSEC; in timer_sysctl_get() 1733 tlp->threshold.interval = value * NSEC_PER_MSEC; in timer_sysctl_set_threshold()
|
| H A D | exclaves_sensor.c | 55 #define EXCLAVES_EIC_MIN_SENSOR_TIME (3100 * NSEC_PER_MSEC) /* 3.1 seconds */
|
| H A D | test_lock.c | 465 delay_for_interval(1, NSEC_PER_MSEC); in smr_sleepable_stress_worker()
|
| /xnu-12377.61.12/osfmk/arm64/ |
| H A D | cpu.c | 237 if ((delta / NSEC_PER_MSEC) > timeout_ms) { in arm64_ipi_test() 251 if ((delta / NSEC_PER_MSEC) > timeout_ms) { in arm64_ipi_test() 1188 nanoseconds_to_absolutetime(((wfi >> 16) & 0xFFFF) * NSEC_PER_MSEC, &wfi_delay); in cpu_machine_idle_init()
|
| /xnu-12377.61.12/bsd/skywalk/nexus/netif/ |
| H A D | nx_netif_mit.c | 603 clock_interval_to_deadline(1, NSEC_PER_MSEC, in nx_netif_mit_s_thread_cont() 720 clock_interval_to_deadline(1, NSEC_PER_MSEC, in nx_netif_mit_thread_cont()
|
| /xnu-12377.61.12/tests/cpu_counters/ |
| H A D | kpc_tests.c | 558 PERIODIC_CPU_COUNT_MS * NSEC_PER_MSEC), 559 PERIODIC_CPU_COUNT_MS * NSEC_PER_MSEC, 0);
|
| /xnu-12377.61.12/iokit/Kernel/ |
| H A D | IOPMrootDomain.cpp | 959 millis = nano / NSEC_PER_MSEC; in halt_log_enter() 990 millis = nano / NSEC_PER_MSEC; in IOSystemShutdownNotification() 1003 millis = nano / NSEC_PER_MSEC; in IOSystemShutdownNotification() 1183 return (UInt32)(nano / NSEC_PER_MSEC); in computeDeltaTimeMS() 2684 msec_since_wake = nsec_since_wake / NSEC_PER_MSEC; in startIdleSleepTimer() 4326 nanoseconds_to_absolutetime(_aotLingerTime * NSEC_PER_MSEC, &interval); in willNotifyInterested() 4446 ((int)((nsec) / NSEC_PER_MSEC))); 7010 ((int)((nsec) / NSEC_PER_MSEC))); 9378 fullWakeReason, ((int)((nsec) / NSEC_PER_MSEC))); 9554 IOLog("PMStats: Hibernate write took %qd ms\n", delta / NSEC_PER_MSEC); [all …]
|