MCPcopy Create free account
hub / github.com/F-Stack/f-stack / hardclock_sync

Function hardclock_sync

freebsd/kern/kern_clock.c:518–526  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

516}
517
518void
519hardclock_sync(int cpu)
520{
521 int *t;
522 KASSERT(!CPU_ABSENT(cpu), ("Absent CPU %d", cpu));
523 t = DPCPU_ID_PTR(cpu, pcputicks);
524
525 *t = ticks;
526}
527
528/*
529 * Compute number of ticks in the specified amount of time.

Callers 2

kern_clocksource.cFile · 0.85
cpu_initclocks_apFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected