From owner-freebsd-questions Fri Aug 27 18: 3:12 1999 Delivered-To: freebsd-questions@freebsd.org Received: from mail.rdc1.sfba.home.com (ha1.rdc1.sfba.home.com [24.0.0.66]) by hub.freebsd.org (Postfix) with ESMTP id 7EB0014D47 for ; Fri, 27 Aug 1999 18:03:09 -0700 (PDT) (envelope-from mwakers@home.com) Received: from belgarath ([24.5.221.231]) by mail.rdc1.sfba.home.com (InterMail v4.01.01.00 201-229-111) with SMTP id <19990828010304.XHJQ29524.mail.rdc1.sfba.home.com@belgarath> for ; Fri, 27 Aug 1999 18:03:04 -0700 Message-ID: <001a01bef0f1$6830b640$e7dd0518@mwakers.net> From: "Michael W. Akers" To: References: <9938.935798495@monkeys.com> Subject: Re: What's a microsecond? Date: Fri, 27 Aug 1999 18:05:23 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Ron, That's microsecond as in 1/1,000,000 of a second. Parts of seconds are always in base 10 notation. Michael Akers ----- Original Message ----- From: Ronald F. Guilmette To: Sent: Friday, August 27, 1999 5:01 PM Subject: What's a microsecond? > > OK, so maybe this is dumb question, but I need to know. > > The documentation for gettimeofday(2) says: > > struct timeval { > long tv_sec; /* seconds since Jan. 1, 1970 */ > long tv_usec; /* and microseconds */ > }; > > Is that "microsecond" as in 1/1,000,000 seconds? Or is that "microsecond" > as in 1/2^20 seconds? > > There _is_ a slight but significant difference. > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message