Timer library?

Pelle Månsson pelle.mansson at gmail.com
Mon Jan 25 10:18:52 PST 2010


On 01/25/2010 04:02 PM, strtr wrote:
> Stanislav Blinov Wrote:
>
>> Pelle M�nsson wrote:
>>> I'm in need for a timer library that measures the acutal time. I have
>>> tried std.c.time's clock(), but it only measures time spent inside the
>>> program, not actual time elapsed.
>>>
>>> I need at least millisecond resolution, so std.c.time.time() is not an
>>> option.
>>>
>>> I wonder, is there a good library for this?
>>
>> Have you tried std.date? :-)
>
> and there is of course the undocumented std.perf.
>
It seems std.perf is indeed suitable. Thank you!


More information about the Digitalmars-d-learn mailing list