Searched refs:mon (Results 1 – 2 of 2) sorted by relevance
| /xnu-12377.1.9/osfmk/arm64/ |
| H A D | monotonic_arm64.c | 469 uncmon_lock(struct uncore_monitor *mon) in uncmon_lock() argument 472 lck_spin_lock(&mon->um_lock); in uncmon_lock() 477 uncmon_unlock(struct uncore_monitor *mon, int intrs_en) in uncmon_unlock() argument 479 lck_spin_unlock(&mon->um_lock); in uncmon_unlock() 489 struct uncore_monitor *mon = &uncore_monitors[monid]; in uncmon_is_remote() local 490 #pragma unused(mon) in uncmon_is_remote() 491 LCK_SPIN_ASSERT(&mon->um_lock, LCK_ASSERT_OWNED); in uncmon_is_remote() 697 struct uncore_monitor *mon = &uncore_monitors[monid]; in uncmon_update_locked() local 698 if (!mon->um_sleeping) { in uncmon_update_locked() 705 if (snap < mon->um_snaps[ctr]) { in uncmon_update_locked() [all …]
|
| /xnu-12377.1.9/tests/ |
| H A D | monotonic_uncore.c | 328 for (int mon = 0; mon < nmonitors; mon++) { variable 330 uint64_t after = counts[1][i * mon]; 331 uint64_t before = counts[0][i * mon]; 333 T_LOG("%d,%2d: %12" PRIu64 "%12" PRIu64 " = %10" PRIu64, mon, i, 338 mon, i); 340 T_EXPECT_GT(counts[1][i * mon] - counts[0][i * mon], 343 "lower bound from mach_absolute_time", mon, i);
|