SIMPLE SOLUTIONS

TVTOHZ(9FREEBSD) - Linux man page online | System kernel interfaces

Convert time interval to tick count.

Chapter
January 3, 2000
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 <@posi.net>.
BSD January 3, 2000 BSD
This manual Reference Other manuals
tvtohz(9freebsd) referred by bintime(9freebsd) | binuptime(9freebsd) | getbintime(9freebsd) | getbinuptime(9freebsd) | getmicrotime(9freebsd) | getmicrouptime(9freebsd) | getnanotime(9freebsd) | getnanouptime(9freebsd) | getsbinuptime(9freebsd) | microtime(9freebsd) | microuptime(9freebsd) | nanotime(9freebsd) | nanouptime(9freebsd) | sbinuptime(9freebsd)
refer to microtime(9freebsd) | microuptime(9freebsd) | timeout(9freebsd)
Download raw manual
Main page BSD Kernel Developer's Manual (+1909) BSD (+3984) № 9 (+1939)
Go top