timekeep
tc_get_timecount(struct timekeep *tk, u_int *tc)
int (*const _tc_get_timecount)(struct timekeep *, u_int *) = tc_get_timecount;
int (*const _tc_get_timecount)(struct timekeep *, u_int *) = NULL;
tc_get_timecount(struct timekeep *tk, u_int *tc)
int (*const _tc_get_timecount)(struct timekeep *, u_int *) = tc_get_timecount;
int (*const _tc_get_timecount)(struct timekeep *, u_int *) = NULL;
int (*const _tc_get_timecount)(struct timekeep *, u_int *) = NULL;
int (*const _tc_get_timecount)(struct timekeep *, u_int *) = NULL;
int (*const _tc_get_timecount)(struct timekeep *, u_int *) = NULL;
tc_get_timecount(struct timekeep *tk, u_int *tc)
int (*const _tc_get_timecount)(struct timekeep *, u_int *) = tc_get_timecount;
tc_get_timecount(struct timekeep *tk, u_int *tc)
int (*const _tc_get_timecount)(struct timekeep *, u_int *) = tc_get_timecount;
tc_get_timecount(struct timekeep *tk, u_int *tc)
int (*const _tc_get_timecount)(struct timekeep *, u_int *) = tc_get_timecount;
tc_get_timecount(struct timekeep *tk, u_int *tc)
int (*const _tc_get_timecount)(struct timekeep *, u_int *) = tc_get_timecount;
int (*const _tc_get_timecount)(struct timekeep *, u_int *) = NULL;
tc_get_timecount(struct timekeep *tk, u_int *tc)
int (*const _tc_get_timecount)(struct timekeep *, u_int *) = tc_get_timecount;
struct timekeep *_timekeep;
extern struct timekeep *_timekeep;
extern int (*const _tc_get_timecount)(struct timekeep *, u_int *);
int _microtime(struct timeval *, struct timekeep *);
int _nanotime(struct timespec *, struct timekeep *);
int _nanoruntime(struct timespec *, struct timekeep *);
int _nanouptime(struct timespec *, struct timekeep *);
_nanotime(struct timespec *tsp, struct timekeep *tk)
_nanoruntime(struct timespec *ts, struct timekeep *tk)
_nanouptime(struct timespec *tsp, struct timekeep *tk)
tc_delta(struct timekeep *tk, u_int *delta)
binuptime(struct bintime *bt, struct timekeep *tk)
binruntime(struct bintime *bt, struct timekeep *tk)
bintime(struct bintime *bt, struct timekeep *tk)
_microtime(struct timeval *tvp, struct timekeep *tk)
struct timekeep *timekeep = _timekeep;
if (timekeep == NULL || timekeep->tk_user == 0)
rc = _nanotime(tp, timekeep);
rc = _nanoruntime(tp, timekeep);
rc = _nanouptime(tp, timekeep);
struct timekeep *timekeep = _timekeep;
if (timekeep == NULL || timekeep->tk_user == 0)
rc = _microtime(tp, timekeep);
struct timekeep *timekeep;
size_t timekeep_sz = round_page(sizeof(struct timekeep));
timekeep = (struct timekeep *)va;
timekeep->tk_version = TK_VERSION;
if (timekeep == NULL)
timekeep->tk_generation = 0;
timekeep->tk_scale = th->th_scale;
timekeep->tk_offset_count = th->th_offset_count;
timekeep->tk_offset = th->th_offset;
timekeep->tk_naptime = th->th_naptime;
timekeep->tk_boottime = th->th_boottime;
timekeep->tk_counter_mask = th->th_counter->tc_counter_mask;
timekeep->tk_user = th->th_counter->tc_user;
timekeep->tk_generation = th->th_generation;
extern struct timekeep *timekeep;