diff options
Diffstat (limited to 'sys/kern/kern_tc.c')
-rw-r--r-- | sys/kern/kern_tc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/kern/kern_tc.c b/sys/kern/kern_tc.c index bb20a9e..93b50a0 100644 --- a/sys/kern/kern_tc.c +++ b/sys/kern/kern_tc.c @@ -96,6 +96,7 @@ TC_STATS(nbinuptime); TC_STATS(nnanouptime); TC_STATS(nmicrouptime); TC_STATS(nbintime); TC_STATS(nnanotime); TC_STATS(nmicrotime); TC_STATS(ngetbinuptime); TC_STATS(ngetnanouptime); TC_STATS(ngetmicrouptime); TC_STATS(ngetbintime); TC_STATS(ngetnanotime); TC_STATS(ngetmicrotime); +TC_STATS(nsetclock); #undef TC_STATS @@ -314,6 +315,7 @@ tc_setclock(struct timespec *ts) { struct timespec ts2; + nsetclock++; nanouptime(&ts2); boottime.tv_sec = ts->tv_sec - ts2.tv_sec; /* XXX boottime should probably be a timespec. */ |