Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
TVTOHZ(9)	       FreeBSD Kernel Developer's Manual	     TVTOHZ(9)

NAME
     tvtohz -- convert time interval to	tick count

SYNOPSIS
     #include <sys/time.h>

     int
     tvtohz(struct timeval *tv);

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.

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)

HISTORY
     The tvtohz	function first appeared	in FreeBSD 3.0

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

FreeBSD	11.1			January	3, 2000			  FreeBSD 11.1

NAME | SYNOPSIS | DESCRIPTION | RETURN VALUES | SEE ALSO | HISTORY | AUTHORS

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=tvtohz&sektion=9&manpath=FreeBSD+10.0-RELEASE>

home | help