Searched refs:spin_seconds (Results 1 – 2 of 2) sorted by relevance
166 const uint64_t spin_seconds = 3; variable167 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);
340 const int spin_seconds = 1; variable349 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);