On Sun, 03 Oct 2021 19:51:49 +0200, Bo Berglund via fpc-pascal <fpc-pascal@lists.freepascal.org> wrote:
>In this scenario I expected next to no CPU usage when this is running as a >service controlled by systemd, but in fact top shows the service to consume 10% >CPU when it is doing nothing, no client connected and no task running... > >How can I find out what is the cause of this? > >I am developing using Lazarus 2.0.12 and FPC 3.2.0 on the RPi3B+. > I found the LazProfiler on the wiki: https://wiki.freepascal.org/LazProfiler Could it be used to profile a service command line application (no GUI) too or is it limited to "normal" GUI type applications? Does it work on ARM Linux? https://forum.lazarus.freepascal.org/index.php/topic,38983.msg420564.html#msg420564 -- Bo Berglund Developer in Sweden _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal