Changeset View
Changeset View
Standalone View
Standalone View
sys/sys/timetc.h
Show First 20 Lines • Show All 90 Lines • ▼ Show 20 Lines | |||||
void tc_setclock(struct timespec *ts); | void tc_setclock(struct timespec *ts); | ||||
void tc_ticktock(int cnt); | void tc_ticktock(int cnt); | ||||
void cpu_tick_calibration(void); | void cpu_tick_calibration(void); | ||||
#ifdef SYSCTL_DECL | #ifdef SYSCTL_DECL | ||||
SYSCTL_DECL(_kern_timecounter); | SYSCTL_DECL(_kern_timecounter); | ||||
#endif | #endif | ||||
/** | |||||
* clockcalib(clk, clkname): | |||||
* Return the frequency of the provided timer, as calibrated against the | |||||
* current best-available timecounter. | |||||
*/ | |||||
uint64_t clockcalib(uint64_t (*)(void), const char *); | |||||
#endif /* !_SYS_TIMETC_H_ */ | #endif /* !_SYS_TIMETC_H_ */ |