On Mon, Jan 19, 2009 at 10:41 AM, Daniel Keep <daniel.keep.li...@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 :) >> [snip] > > Check std.perf; it's documented, but sadly doesn't show up in the docs.
Namely, PerformanceCounter is crossplatform. (For some reason, HighPerformanceCounter only works on Windows, even though it uses the same mechanism as PerformanceCounter..)