Changeset View
Changeset View
Standalone View
Standalone View
sys/kern/kern_tc.c
Show First 20 Lines • Show All 1,842 Lines • ▼ Show 20 Lines | #endif | ||||
if (pps->capgen != pps->capth->th_generation) | if (pps->capgen != pps->capth->th_generation) | ||||
return; | return; | ||||
*pcount = pps->capcount; | *pcount = pps->capcount; | ||||
(*pseq)++; | (*pseq)++; | ||||
*tsp = ts; | *tsp = ts; | ||||
if (foff) { | if (foff) { | ||||
timespecadd(tsp, osp); | timespecadd(tsp, osp, tsp); | ||||
if (tsp->tv_nsec < 0) { | if (tsp->tv_nsec < 0) { | ||||
tsp->tv_nsec += 1000000000; | tsp->tv_nsec += 1000000000; | ||||
tsp->tv_sec -= 1; | tsp->tv_sec -= 1; | ||||
} | } | ||||
} | } | ||||
#ifdef FFCLOCK | #ifdef FFCLOCK | ||||
*ffcount = pps->capffth->tick_ffcount + tcount; | *ffcount = pps->capffth->tick_ffcount + tcount; | ||||
▲ Show 20 Lines • Show All 344 Lines • Show Last 20 Lines |