vcl/headless/svpinst.cxx | 3 +++ 1 file changed, 3 insertions(+) New commits: commit 99f7d10b9a7252414714b60f5810474e455c270a Author: Tor Lillqvist <t...@collabora.com> AuthorDate: Fri May 14 13:37:09 2021 +0300 Commit: Tor Lillqvist <t...@collabora.com> CommitDate: Tue Jun 8 16:37:16 2021 +0200
Add a ProfileZone around the mpPollCallback invocation As requested by mmeeks. Change-Id: I71531b77d774eefb092570e214d54269f44881a6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115596 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoff...@gmail.com> Reviewed-by: Tor Lillqvist <t...@collabora.com> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116840 diff --git a/vcl/headless/svpinst.cxx b/vcl/headless/svpinst.cxx index 46f1b940c926..e4b67140ace8 100644 --- a/vcl/headless/svpinst.cxx +++ b/vcl/headless/svpinst.cxx @@ -59,6 +59,7 @@ // FIXME: remove when we re-work the svp mainloop #include <unx/salunxtime.h> #include <comphelper/lok.hxx> +#include <comphelper/profilezone.hxx> SvpSalInstance* SvpSalInstance::s_pDefaultInstance = nullptr; @@ -488,6 +489,8 @@ bool SvpSalInstance::DoYield(bool bWait, bool bHandleAllCurrentEvents) if (pSVData->mpPollCallback) { + comphelper::ProfileZone("mpPollCallback invocation"); + // Poll for events from the LOK client. if (nTimeoutMicroS < 0) nTimeoutMicroS = 5000 * 1000; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits