logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

tvtohz — convert time interval to tick count

Authors

       This manual page was written by Kelly Yancey <kbyanc@posi.net>.

Debian                                           January 3, 2000                                       TVTOHZ(9)

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);

See Also