tvtohz(9) freebsd man page | unix.com

Man Page: tvtohz

Operating Environment: freebsd

Section: 9

TVTOHZ(9)						   BSD 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>.
BSD
January 3, 2000 BSD
Related Man Pages
nanotime(9) - debian
getnanotime(9) - freebsd
getbintime(9) - freebsd
microtime(9) - freebsd
nanotime(9) - minix
Similar Topics in the Unix Linux Community
The Whole Story on #! /usr/bin/ksh
FreeBSD Kernel Internals, Dr. Marshall Kirk McKusick
A simple UNIXtime component in Vue.js
Is it safe to install x86 Solaris 10 U6 after installed-Linux-and-FreeBSD?
Controlling user input