[erlang-questions] System timers, now/0, and instrumentation

Jack Moffitt <>
Tue May 24 21:09:50 CEST 2011


> The question is whether they are readily available. Sub-ms resolution timers
> appear to be 'an exercise for the reader' for Windows developers, rather
> than an OS-provided tool.

QueryPerformanceCounter() is pretty readily available as far as I
remember. Here's something Google brought up for implementing
microsecond timers with it:
http://www.decompile.com/cpp/faq/windows_timer_api.htm

It's been a long time since I did Windows API stuff.

jack.



More information about the erlang-questions mailing list