tvtohz — convert time interval to tick count
Contents
Description
The tvtohz() function accepts a single argument tv which specifies the time interval over which to
calculate the number of system ticks that would elapse.
History
The tvtohz function first appeared in FreeBSD 3.0
Name
tvtohz — convert time interval to tick count
Return Values
Returns the integral number of system ticks expected to elapse in the given interval, including the
current tick.
See Also
microtime(9), microuptime(9), timeout(9)
Synopsis
#include<sys/time.h>inttvtohz(structtimeval*tv);
