Thanks I'll check that out. I'm not using Lazarus so tons of dependencies won't work but maybe I can learn something. I'm on macOS too so if this is using system calls it may not be supported.
> On Jun 28, 2024, at 10:10 PM, Christo Crause <christo.cra...@gmail.com> wrote: > > > On Fri, Jun 28, 2024 at 2:34 PM Hairy Pixels via fpc-pascal > <fpc-pascal@lists.freepascal.org> wrote: > I had a large function which I was profiling with MilliSecondsBetween but I > split it to be called many different times and now it's not accumulating the > total time correctly because time is being lost to due millisecond precision. > > Is there anything in the RTL I can use which is more accurate? I searched and > couldn't find anything. > > In the past I've used EpikTimer (https://wiki.freepascal.org/EpikTimer), it > is cross platform and works well, at least for my casual use. Regards, Ryan Joseph _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal