Home
last modified time | relevance | path

Searched refs:spin_seconds (Results 1 – 2 of 2) sorted by relevance

/xnu-12377.61.12/tests/sched/
H A Dall_cores_running.c166 const uint64_t spin_seconds = 3; variable
167 spin_deadline_timestamp = mach_absolute_time() + nanos_to_abs(spin_seconds * NSEC_PER_SEC);
169 T_LOG("Launching %u threads to spin for %lld seconds...", num_threads, spin_seconds);
175 sleep(spin_seconds);
176 T_LOG("...%lld seconds have elapsed", spin_seconds);
/xnu-12377.61.12/tests/
H A Drunaway_mitigation.c340 const int spin_seconds = 1; variable
349 uint64_t duration = spin_seconds * NSEC_PER_SEC * timebase_info.denom / timebase_info.numer; in spin_thread()
398 T_LOG("Spawning thread to spin for %d seconds\n", spin_seconds);
410 T_LOG("Wait %d seconds for spin to finish\n", spin_seconds);