Lines Matching defs:tsc
1 /* $NetBSD: tsc.c,v 1.63 2025/05/08 05:31:16 imil Exp $ */
30 __KERNEL_RCSID(0, "$NetBSD: tsc.c,v 1.63 2025/05/08 05:31:16 imil Exp $");
52 #include "tsc.h"
333 uint64_t tsc;
345 tsc = tsc_dummy_cacheline;
347 tsc += rdtsc();
350 (void)atomic_swap_64(&tsc_sync_val, tsc);
463 * tsc has been reset; zero the cached tsc of every lwp in the system
464 * so we don't spuriously report that the tsc has gone backward.