<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, May 19, 2014 at 11:54 AM, Graeme Geldenhuys <span dir="ltr"><<a href="mailto:mailinglists@geldenhuys.co.uk" target="_blank">mailinglists@geldenhuys.co.uk</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="">On 2014-05-19 11:03, Michael Schnell wrote:<br>
> Obviously I can't _use_ EpricTimer there, as it uses (IMHO<br>
> inappropriately) (graphics-) stuff that is not implemented in a non-GUI<br>
> project.<br>
<br>
</div>You are clearly using a very outdated version. That was fixed 2+ years<br>
ago. Get the latest code from SubVersion instead of the ZIP download.<br>
<div class="im"><br>
<br></div></blockquote></div><br></div><div class="gmail_extra">There's no question that the component needs an update as the current zip on the Lazarus-ccr was packaged in 2006. SVN is more current and Graeme and I will get together and roll any additional improvements he's made into a new release.<br>
<br></div><div class="gmail_extra">If we need to make improvements to the core measurement routines for better cross platform support, some additional input would be helpful. For hardware timing, I see the following support across processor types:<br>
<br><a href="http://en.wikipedia.org/wiki/Hardware_performance_counter">http://en.wikipedia.org/wiki/Hardware_performance_counter</a><br><br>There is a Performance API (PAPI) standard for cross platform access to those counters, but probably not a candidate as it requires OS support. Regarding OS based timing, my experience is limited to Linux and Intel/AMD, so if there's a more universal approach, I'd be very interested in learning more about it.<br>
<br></div><div class="gmail_extra">Thanks,<br><br>-Tom<br></div><div class="gmail_extra"><br></div></div>