time measurement under linux?

Bill Baxter wbaxter at gmail.com
Mon Jan 19 12:16:38 PST 2009


On Tue, Jan 20, 2009 at 4:47 AM, Jarrett Billingsley
<jarrett.billingsley at gmail.com> wrote:
> On Mon, Jan 19, 2009 at 1:46 PM, Jason House
> <jason.james.house at gmail.com> wrote:
>> Trass3r wrote:
>>
>>> I wrote a module to ease time measurement in my projects.
>>> Does anyone know how to get elapsed milli- or nanoseconds under linux?
>>> Want to make it portable :)
>>
>> The difficulty of doing platform independent timing is one of the many reasons that drove me to Tango...
>
> std.perf has been around for ages <_<  it's sad that it isn't documented.

That's a lot of what I did, actually.  A big reason it wasn't showing
up in the docs was because it didn't have ddoc comments.  So I wrote
those, and also did something about portability I think.  I don't
recall what I did exactly, but there were some code changes too in
addition to the ddoc changes.

--bb


More information about the Digitalmars-d-learn mailing list