std.experimental.logger formal review round 3

via Digitalmars-d digitalmars-d at puremagic.com
Thu Oct 2 04:10:35 PDT 2014


On Wednesday, 1 October 2014 at 16:10:41 UTC, Steven 
Schveighoffer wrote:
> I think it wouldn't be prudent to explore Windows options until 
> we prove the windows currTime is slow like the Linux version.
>
> On Mac, gettimeofday is used. I don't know that it's 
> necessarily slow, but I don't know of a better way to get the 
> wall clock time.

x86 has a builtin time stamp counter, executes faster than the 
fastest system call.

http://en.wikipedia.org/wiki/Time_Stamp_Counter

http://en.wikipedia.org/wiki/High_Precision_Event_Timer



More information about the Digitalmars-d mailing list