ddi_get_lbolt - returns the value of lbolt
#include <sys/types.h>
#include <sys/ddi.h>
#include <sys/sunddi.h>
clock_t ddi_get_lbolt(void);
illumos DDI specific (illumos DDI).
ddi_get_lbolt() returns the value of lbolt where lbolt is
an integer that represents the number of clock ticks since the last system
reboot. This value is used as a counter or timer inside the system kernel. The
tick frequency can be determined by using drv_usectohz(9F) which
converts microseconds into clock ticks.
ddi_get_lbolt() returns the value of lbolt.
This routine can be called from any context.