Searched refs:last_ns (Results 1 – 2 of 2) sorted by relevance
| /xnu-12377.1.9/tests/sched/ |
| H A D | setitimer.c | 732 uint64_t last_ns = 0; variable 733 while ((last_ns = clock_gettime_nsec_np(CLOCK_MONOTONIC)) < end_timeout_ns) { 739 T_EXPECT_LE(last_ns, end_timeout_ns, "received SIGPROF within the timeout (%.9gs < %.9gs)", 740 (double)(last_ns - start_ns) / 1e9, (double)(end_timeout_ns - start_ns) / 1e9); 742 (double)(last_ns - expected_end_ns) / 1e6); 743 T_EXPECT_GE(last_ns, expected_end_ns, "received SIGPROF after enough time (%.9gs > %.9gs)", 744 (double)(last_ns - start_ns) / 1e9, (double)(expected_end_ns - start_ns) / 1e9); 789 uint64_t last_ns = 0; variable 790 while ((last_ns = clock_gettime_nsec_np(CLOCK_MONOTONIC)) < end_timeout_ns) { 797 T_EXPECT_LE(last_ns, end_timeout_ns, "received SIGPROF within the timeout (%.9gs < %.9gs)", [all …]
|
| /xnu-12377.1.9/tests/cpu_counters/ |
| H A D | kpc_tests.c | 458 __block uint64_t last_ns = 0; variable 541 tp->timestamp, &last_ns);
|