Re: How long is a hz?
- From: Max Laier <max@xxxxxxxxxxxxxx>
- Date: Mon, 28 Jan 2008 20:02:44 +0100
On Monday 28 January 2008, Sean Bruno wrote:
I couldn't quite find the definition for "hz" in sys/ this morning.
What is it's value and where is it defined?
sys/kern/subr_param.c:int hz;
sys/sys/time.h: int hz; /* clock frequency */
sys/kernel.h:extern int tick; /* usec per tick (1000000 / hz) */
sys/kernel.h:extern int hz; /* system clock's frequency */
The actual value for hz comes from your kernel configuration. The default
is "options HZ=1000" at the moment.
--
/"\ Best regards, | mlaier@xxxxxxxxxxx
\ / Max Laier | ICQ #67774661
X http://pf4freebsd.love2party.net/ | mlaier@EFnet
/ \ ASCII Ribbon Campaign | Against HTML Mail and News
Attachment:
signature.asc
Description: This is a digitally signed message part.
- References:
- How long is a hz?
- From: Sean Bruno
- How long is a hz?
- Prev by Date: Re: How long is a hz?
- Next by Date: Re: 'periodic daily' memory usage
- Previous by thread: Re: How long is a hz?
- Index(es):