Changeset View
Changeset View
Standalone View
Standalone View
sys/sys/time.h
Show First 20 Lines • Show All 572 Lines • ▼ Show 20 Lines | |||||
void getmicrotime(struct timeval *tvp); | void getmicrotime(struct timeval *tvp); | ||||
void getboottime(struct timeval *boottime); | void getboottime(struct timeval *boottime); | ||||
void getboottimebin(struct bintime *boottimebin); | void getboottimebin(struct bintime *boottimebin); | ||||
/* Other functions */ | /* Other functions */ | ||||
int itimerdecr(struct itimerval *itp, int usec); | int itimerdecr(struct itimerval *itp, int usec); | ||||
int itimerfix(struct timeval *tv); | int itimerfix(struct timeval *tv); | ||||
int ppsratecheck(struct timeval *, int *, int); | int eventratecheck(struct timeval *, int *, int); | ||||
#define ppsratecheck(t, c, m) eventratecheck(t, c, m) | |||||
int ratecheck(struct timeval *, const struct timeval *); | int ratecheck(struct timeval *, const struct timeval *); | ||||
void timevaladd(struct timeval *t1, const struct timeval *t2); | void timevaladd(struct timeval *t1, const struct timeval *t2); | ||||
void timevalsub(struct timeval *t1, const struct timeval *t2); | void timevalsub(struct timeval *t1, const struct timeval *t2); | ||||
int tvtohz(struct timeval *tv); | int tvtohz(struct timeval *tv); | ||||
/* | /* | ||||
* The following HZ limits allow the tvtohz() function | * The following HZ limits allow the tvtohz() function | ||||
* to only use integer computations. | * to only use integer computations. | ||||
▲ Show 20 Lines • Show All 51 Lines • Show Last 20 Lines |