*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->Tru64 Unix man pages -> hz (9v)              
Title
Content
Arch
Section
 

hz(9v)

Contents


NAME    [Toc]    [Back]

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

SYNOPSIS    [Toc]    [Back]

       extern int hz;

DESCRIPTION    [Toc]    [Back]

       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    [Toc]    [Back]

                                                           hz(9v)
[ Back ]
 Similar pages
Name OS Title
timeslice HP-UX scheduling interval in clock ticks per second
mstohz NetBSD convert milliseconds to system clock ticks
pthread_setconcurrency Tru64 Changes the value of the concurrency level global variable for this process
lbolt Tru64 Global Variable: Is a periodic wakeup mechanism
page_size Tru64 Global Variable: Is the virtual page size
pthread_getconcurrency Tru64 Obtains the value of the concurrency level global variable for this process
vars IRIX Perl pragma to predeclare global variable names
cpu Tru64 Global Variable: Provides a unique logical processor-type family identifier
get_random_bytes Tru64 General: Returns the requested number of random bytes and stores them in a buffer.
sysclock IRIX Returns real-time clock value and number of wraps
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service