summaryrefslogtreecommitdiff
path: root/vcl/source/app/scheduler.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source/app/scheduler.cxx')
-rw-r--r--vcl/source/app/scheduler.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/vcl/source/app/scheduler.cxx b/vcl/source/app/scheduler.cxx
index e5109bc71f1c..1c52ad170d28 100644
--- a/vcl/source/app/scheduler.cxx
+++ b/vcl/source/app/scheduler.cxx
@@ -22,6 +22,7 @@
#include <vcl/scheduler.hxx>
#include <saltimer.hxx>
#include <salinst.hxx>
+#include <comphelper/profilezone.hxx>
namespace {
const sal_uInt64 MaximumTimeoutMs = 1000 * 60; // 1 minute
@@ -153,6 +154,8 @@ bool Scheduler::ProcessTaskScheduling( bool bIdle )
if ( pMostUrgent )
{
+ ::comphelper::ProfileZone aZone( pMostUrgent->GetDebugName() );
+
SAL_INFO("vcl.schedule", "Invoke task " << pMostUrgent->GetDebugName());
pMostUrgent->mnUpdateTime = nTime;