From owner-freebsd-questions Tue Nov 21 19:32:43 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mail.monochrome.org (monochrome.org [206.64.112.124]) by hub.freebsd.org (Postfix) with ESMTP id 6FB4C37B4CF for ; Tue, 21 Nov 2000 19:32:41 -0800 (PST) Received: from localhost (faro [192.168.1.7]) by mail.monochrome.org (8.9.3/8.9.3) with SMTP id WAA93381; Tue, 21 Nov 2000 22:32:38 -0500 (EST) (envelope-from chris@monochrome.org) Date: Tue, 21 Nov 2000 22:32:38 -0500 (EST) From: Chris Hill X-Sender: chris@localhost To: bsdnewbie bsdnewbie Cc: freebsd-questions@FreeBSD.ORG Subject: Re: _ DELAY(1) == delay 1 us ? 1 ms ? hz = ? In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, 22 Nov 2000, bsdnewbie bsdnewbie wrote: > I see many DELAY() in some kernel source code, but I can not make clear how > long does DELAY() delay. DELAY(1) = ? And what is hz, hz = ? bash-2.02$ man delay No manual entry for delay Can't answer the first part, but I imagine that hz means Hertz, properly abbreviated as Hz. 1 Hz is 1 cycle per second or one second per cycle. Metric prefixes apply, therefore 1 kHz = 1000 cycles per second (0.001 seconds or 1 ms per cycle), and so on. -- Chris Hill chris@monochrome.org [1] Bus error netscape To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message