Subject: CVS commit: [simonb-timecounters] src/sys/kern
To: None <source-changes@NetBSD.org>
From: Simon Burge <email@example.com>
Date: 02/04/2006 13:49:07
Module Name: src
Committed By: simonb
Date: Sat Feb 4 13:49:07 UTC 2006
src/sys/kern [simonb-timecounters]: kern_clock.c
Adapt for timecounter changes.
Add FreeBSD's "tvtohz()" function to avoid the bogus "splfoo(), add
time, call hzto() which subtracts time" sequences, and add new tstohz()
function that does similar for timespecs.
Add compatibility routines so ports not yet converted to timecounters
can use the timecounter get*time() calls.
To generate a diff of this commit:
cvs rdiff -r1.96 -r22.214.171.124 src/sys/kern/kern_clock.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.