Function Name |
Description |
---|---|
returns clock ticks since reboot |
|
ddi_get_time |
return the current time in seconds |
delay |
delay execution for a specified number of clock ticks |
drv_hztousec |
convert clock ticks to microseconds |
drv_usectohz |
convert microseconds to clock ticks |
drv_usecwait |
busy-wait for specified interval |
gethrtime |
get high-resolution time |
gethrvtime |
get high-resolution LWP virtual time |
timeout |
execute a function after a specified length of time |
untimeout |
cancel previous timeout function call |
drv_getparm |
ddi_get_lbolt, ddi_get_time |
Table B–26 Deprecated Time-Related Functions
Deprecated Function |
Replacement |
---|---|
ddi_get_lbolt, ddi_get_time |