Date: Fri, 27 Aug 1999 18:05:23 -0700 From: "Michael W. Akers" <mwakers@home.com> To: <freebsd-questions@FreeBSD.ORG> Subject: Re: What's a microsecond? Message-ID: <001a01bef0f1$6830b640$e7dd0518@mwakers.net> References: <9938.935798495@monkeys.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <rfg@monkeys.com> To: <questions@FreeBSD.ORG> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?001a01bef0f1$6830b640$e7dd0518>