We happen to use this in the vmm pvclock diff. Reyk
> Am 26.03.2019 um 16:28 schrieb Scott Cheloha <scottchel...@gmail.com>: > > Dead since import by my reckoning... so, ~15 years dead? > > ok? > > Index: kern/kern_tc.c > =================================================================== > RCS file: /cvs/src/sys/kern/kern_tc.c,v > retrieving revision 1.43 > diff -u -p -r1.43 kern_tc.c > --- kern/kern_tc.c 25 Mar 2019 23:32:00 -0000 1.43 > +++ kern/kern_tc.c 26 Mar 2019 15:27:51 -0000 > @@ -346,14 +346,6 @@ tc_init(struct timecounter *tc) > timecounter = tc; > } > > -/* Report the frequency of the current timecounter. */ > -u_int64_t > -tc_getfrequency(void) > -{ > - > - return (timehands->th_counter->tc_frequency); > -} > - > /* > * Step our concept of UTC, aka the realtime clock. > * This is done by modifying our estimate of when we booted. > Index: sys/timetc.h > =================================================================== > RCS file: /cvs/src/sys/sys/timetc.h,v > retrieving revision 1.8 > diff -u -p -r1.8 timetc.h > --- sys/timetc.h 25 Mar 2019 23:32:00 -0000 1.8 > +++ sys/timetc.h 26 Mar 2019 15:27:51 -0000 > @@ -89,7 +89,6 @@ extern struct rwlock tc_lock; > > extern struct timecounter *timecounter; > > -u_int64_t tc_getfrequency(void); > void tc_init(struct timecounter *tc); > void tc_setclock(const struct timespec *ts); > void tc_setrealtimeclock(const struct timespec *ts); >