Date: Mon, 30 Aug 1999 19:59:03 -0400 (EDT) From: Peter Dufault <dufault@hda.com> To: julian@whistle.com (Julian Elischer) Cc: jeremyp@gsmx07.alcatel.com.au, jlemon@americantv.com, current@FreeBSD.ORG Subject: Re: HEADS UP Message-ID: <199908302359.TAA15498@hda.hda.com> In-Reply-To: <Pine.BSF.3.95.990830162225.339M-100000@current1.whistle.com> from Julian Elischer at "Aug 30, 99 04:32:26 pm"
next in thread | previous in thread | raw e-mail | index | archive | help
> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199908302359.TAA15498>