From owner-freebsd-current Mon Aug 30 17: 0:30 1999 Delivered-To: freebsd-current@freebsd.org Received: from hda.hda.com (hda-bicnet.bicnet.net [209.244.238.132]) by hub.freebsd.org (Postfix) with ESMTP id 768EC15086 for ; Mon, 30 Aug 1999 17:00:26 -0700 (PDT) (envelope-from dufault@hda.hda.com) Received: (from dufault@localhost) by hda.hda.com (8.8.5/8.8.5) id TAA15498; Mon, 30 Aug 1999 19:59:04 -0400 (EDT) From: Peter Dufault Message-Id: <199908302359.TAA15498@hda.hda.com> Subject: Re: HEADS UP In-Reply-To: from Julian Elischer at "Aug 30, 99 04:32:26 pm" To: julian@whistle.com (Julian Elischer) Date: Mon, 30 Aug 1999 19:59:03 -0400 (EDT) Cc: jeremyp@gsmx07.alcatel.com.au, jlemon@americantv.com, current@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL25 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > there are very few values that could make sense in both Hours scale and > usecs scale.. > > thus items that could be small could be in uSecs and items that could > be big could be in Secs.. A small set of functions could be used to > make this uniform through the system > > syscall_Secs_to_hz(ulong *ticks, boolean Allow_zero SYSCTL_HANDLER_ARGS) > syscall_mSecs_to_hz(ulong *ticks, boolean Allow_zero, SYSCTL_HANDLER_ARGS) > syscall_uSecs_to_hz(ulong *ticks, boolean Allow_zero, SYSCTL_HANDLER_ARGS) How about struct timeval instead? Peter -- Peter Dufault (dufault@hda.com) Realtime development, Machine control, HD Associates, Inc. Safety critical systems, Agency approval To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message