Subject: CVS commit: [simonb-timecounters] src/sys/kern
To: None <>
From: Simon Burge <>
List: source-changes
Date: 02/04/2006 13:49:07
Module Name:	src
Committed By:	simonb
Date:		Sat Feb  4 13:49:07 UTC 2006

Modified Files:
	src/sys/kern [simonb-timecounters]: kern_clock.c

Log Message:
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 -r1.96.6.1 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.