[Libreoffice-commits] core.git: Branch 'distro/collabora/co-2021' - vcl/headless
Tor Lillqvist (via logerrit)
logerrit at kemper.freedesktop.org
Tue Jun 8 14:37:54 UTC 2021
vcl/headless/svpinst.cxx | 3 +++
1 file changed, 3 insertions(+)
New commits:
commit 99f7d10b9a7252414714b60f5810474e455c270a
Author: Tor Lillqvist <tml at collabora.com>
AuthorDate: Fri May 14 13:37:09 2021 +0300
Commit: Tor Lillqvist <tml at 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 <jenkinscollaboraoffice at gmail.com>
Reviewed-by: Tor Lillqvist <tml at 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;
More information about the Libreoffice-commits
mailing list