Index Index for
Section 9v
Index Alphabetical
listing for H
Bottom of page Bottom of
page

hz(9v)

NAME

hz - Global Variable: Stores the number of clock ticks per second

SYNOPSIS

extern int hz;

DESCRIPTION

The hz global variable is set to the number of clock ticks per second. The value is useful for timing purposes. For example, if a kernel module wants to schedule a routine to be run in 2 seconds, you could use the following call: . . . timeout(lptout, (caddr_t)dev, 2*hz); . . .

FILES

/usr/sys/include/sys/kernel.h

Index Index for
Section 9v
Index Alphabetical
listing for H
Top of page Top of
page