netbsd man page for tvtohz

Query: tvtohz

OS: netbsd

Section: 9

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

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
timeval(3), callout(9), microtime(9), microuptime(9), mstohz(9)
HISTORY
The tvtohz function first appeared in FreeBSD 3.0 and was ported to NetBSD 4.0 as a part of timecounter(9) framework.
AUTHORS
This manual page was written by Kelly Yancey <kbyanc@posi.net>.
BSD
October 20, 2011 BSD
Related Man Pages
bintime(9) - debian
getbintime(9) - debian
getnanotime(9) - debian
getnanotime(9) - freebsd
bintime(9) - freebsd
Similar Topics in the Unix Linux Community
How to install PGX32 on Sparc 10 Ultra?
RFC - Korn shell prompt
Grandpa returning to UNIX
BSD Unix Toolbox: 1000+ Commands for FreeBSD, OpenBSD, and NetBSD