On Tue, Jan 20, 2009 at 6:04 AM, Trass3r wrote:
> Jarrett Billingsley schrieb:
>>
>> On Mon, Jan 19, 2009 at 10:41 AM, Daniel Keep
>> wrote:
>>>
>>> Trass3r wrote:
I wrote a module to ease time measurement in my projects.
Does anyone know how to get elapsed milli- or nanoseconds un
Jarrett Billingsley schrieb:
On Mon, Jan 19, 2009 at 10:41 AM, Daniel Keep
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 :)
[snip]
Check std.perf; it's documented,
On Mon, Jan 19, 2009 at 10:41 AM, Daniel Keep
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 :)
>> [snip]
>
> Check std.perf; it's documented, but sadly doesn
On Tue, Jan 20, 2009 at 4:47 AM, Jarrett Billingsley
wrote:
> On Mon, Jan 19, 2009 at 1:46 PM, Jason House
> 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 por
On Mon, Jan 19, 2009 at 1:46 PM, Jason House
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 on
On Tue, Jan 20, 2009 at 2:19 AM, Trass3r wrote:
> Daniel Keep schrieb:
>>
>> Check std.perf; it's documented, but sadly doesn't show up in the docs.
>>
>> -- Daniel
>
> Cool, is similar to my design. Though GetTickCount64 could be added.
That's odd. I made some updates to std.perf a while back
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...
>
>
>
>
Daniel Keep schrieb:
Check std.perf; it's documented, but sadly doesn't show up in the docs.
-- Daniel
Cool, is similar to my design. Though GetTickCount64 could be added.
"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 :)
Tango uses gettimeofday, which has microsecond resolution.
See tango.time.StopWatch for functionality similar to your
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 :)
> [snip]
Check std.perf; it's documented, but sadly doesn't show up in the docs.
-- Daniel
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 :)
module time;
version(Windows)
import std.c.windows.windows;
long frequency; /// frequency of the high perform
11 matches
Mail list logo