Subject: Re: System clock resolution and random numbers
To: Rick Byers <>
From: Perry E. Metzger <>
List: current-users
Date: 04/30/1997 14:37:34
Rick Byers writes:
> I'm working on an application that needs as-random-as-possible values. 
> I've been using the tv_usec from gettimeofday as the seed.  My question
> is, what is the resolution of tv_usec?

Pretty low, depending on the port, of course. Certainly often no
better than 100ths of a second. Certainly not a reasonable seed for
any strong application.