Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Aug 1999 01:52:49 +0100
From:      Mark Ovens <mark@ukug.uk.freebsd.org>
To:        "Ronald F. Guilmette" <rfg@monkeys.com>
Cc:        questions@freebsd.org
Subject:   Re: What's a microsecond?
Message-ID:  <19990828015249.B291@marder-1>
In-Reply-To: <9938.935798495@monkeys.com>; from Ronald F. Guilmette on Fri, Aug 27, 1999 at 05:01:35PM -0700
References:  <9938.935798495@monkeys.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Aug 27, 1999 at 05:01:35PM -0700, Ronald F. Guilmette wrote:
> 
> 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?
> 

10^-6. Time is a universal measurement not computer-specific. It is
only in the computer world that base 2 is a standard unit.

> 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
> 

-- 
STATE-OF-THE-ART: Any computer you can't afford.
OBSOLETE: Any computer you own.
________________________________________________________________
      FreeBSD - The Power To Serve http://www.freebsd.org
      My Webpage http://ukug.uk.freebsd.org/~mark/
mailto:mark@ukug.uk.freebsd.org              http://www.radan.com



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990828015249.B291>