std.experimental.logger formal review round 3

Steven Schveighoffer via Digitalmars-d digitalmars-d at puremagic.com
Wed Oct 1 09:10:41 PDT 2014


On 10/1/14 11:53 AM, Marco Leise wrote:
> Am Wed, 01 Oct 2014 15:05:53 +0000
> schrieb "Robert burner Schadek" <rburners at gmail.com>:
>
>> On Wednesday, 1 October 2014 at 14:24:52 UTC, Marco Leise wrote:
>>> Am Wed, 01 Oct 2014 12:49:29 +0000
>>> schrieb "Robert burner Schadek" <rburners at gmail.com>:
>>>
>>>> maybe I should add a disableGetSysTime switch
>>>
>>> CLOCK_REALTIME_COARSE / CLOCK_REALTIME_FAST should be explored.
>>
>> good pointer, but what about Win and Mac
>
> Windows 2000 had some function that returns 4ms accurate time,
> I hope it is implemented like CLOCK_REALTIME_COARSE.

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.

-Steve


More information about the Digitalmars-d mailing list