[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: nacl and CPU frequency.



On Sat, Sep 22, 2012 at 03:28:50PM +0100, peter green wrote:
> In order to build successfully nacl needs to determine the CPU
> frequency (the CPU frequency determined at build time is not used in
> the final binaries afaict but if it's not determined then the build
> will fail as it will consider the implementation broken and if it
> can't find any non-broken implementations it won't build).

What does it use this information for? With current CPUs, this value is
neither fixed over time, nor really meaningful.

If you want to have accurate timing, use the monotonic clock.

Bastian

-- 
Respect is a rational process
		-- McCoy, "The Galileo Seven", stardate 2822.3


Reply to: