On Mon, May 19, 2014 at 11:54 AM, Graeme Geldenhuys < mailingli...@geldenhuys.co.uk> wrote:
> On 2014-05-19 11:03, Michael Schnell wrote: > > Obviously I can't _use_ EpricTimer there, as it uses (IMHO > > inappropriately) (graphics-) stuff that is not implemented in a non-GUI > > project. > > You are clearly using a very outdated version. That was fixed 2+ years > ago. Get the latest code from SubVersion instead of the ZIP download. > > > 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. 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: http://en.wikipedia.org/wiki/Hardware_performance_counter 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. Thanks, -Tom
-- _______________________________________________ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus