Changeset View
Changeset View
Standalone View
Standalone View
sys/sys/time.h
Show First 20 Lines • Show All 377 Lines • ▼ Show 20 Lines | |||||
extern sbintime_t tick_sbt; | extern sbintime_t tick_sbt; | ||||
extern int tc_precexp; | extern int tc_precexp; | ||||
extern int tc_timepercentage; | extern int tc_timepercentage; | ||||
extern struct bintime bt_timethreshold; | extern struct bintime bt_timethreshold; | ||||
extern struct bintime bt_tickthreshold; | extern struct bintime bt_tickthreshold; | ||||
extern sbintime_t sbt_timethreshold; | extern sbintime_t sbt_timethreshold; | ||||
extern sbintime_t sbt_tickthreshold; | extern sbintime_t sbt_tickthreshold; | ||||
extern volatile int rtc_generation; | |||||
/* | /* | ||||
* Functions for looking at our clock: [get]{bin,nano,micro}[up]time() | * Functions for looking at our clock: [get]{bin,nano,micro}[up]time() | ||||
* | * | ||||
* Functions without the "get" prefix returns the best timestamp | * Functions without the "get" prefix returns the best timestamp | ||||
* we can produce in the given format. | * we can produce in the given format. | ||||
* | * | ||||
* "bin" == struct bintime == seconds + 64 bit fraction of seconds. | * "bin" == struct bintime == seconds + 64 bit fraction of seconds. | ||||
* "nano" == struct timespec == seconds + nanoseconds. | * "nano" == struct timespec == seconds + nanoseconds. | ||||
▲ Show 20 Lines • Show All 106 Lines • Show Last 20 Lines |