Kaydet (Commit) 379196bf authored tarafından László Németh's avatar László Németh Kaydeden (comit) Miklos Vajna

add more debug names for scheduled events

Change-Id: Idb85ffe13fd5e23b9378c03b5f239f29f8008276
Reviewed-on: https://gerrit.libreoffice.org/38788Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarMiklos Vajna <vmiklos@collabora.co.uk>
üst bd72163f
......@@ -77,6 +77,7 @@ ConfigurationUpdater::ConfigurationUpdater (
// and the requested configuration differ. With the timer we try
// updates until the two configurations are the same.
maUpdateTimer.SetTimeout(snNormalTimeout);
maUpdateTimer.SetDebugName("sd::ConfigurationUpdater maUpdateTimer");
maUpdateTimer.SetInvokeHandler(LINK(this,ConfigurationUpdater,TimeoutHandler));
mxControllerManager = rxControllerManager;
}
......
......@@ -60,6 +60,7 @@ std::shared_ptr<CacheConfiguration> CacheConfiguration::Instance()
maReleaseTimer.SetInvokeHandler(
LINK(rInstancePtr.get(),CacheConfiguration,TimerCallback));
maReleaseTimer.SetTimeout(5000 /* 5s */);
maReleaseTimer.SetDebugName("sd::CacheConfiguration maReleaseTimer");
maReleaseTimer.Start();
}
}
......
......@@ -43,6 +43,7 @@ QueueProcessor::QueueProcessor (
{
maTimer.SetInvokeHandler (LINK(this,QueueProcessor,ProcessRequestHdl));
maTimer.SetTimeout (10);
maTimer.SetDebugName ("sd::QueueProcessor maTimer");
}
QueueProcessor::~QueueProcessor()
......
......@@ -46,6 +46,7 @@ SfxItemDisruptor_Impl::SfxItemDisruptor_Impl(SfxPoolItem *const pItemToDisrupt)
{
m_Idle.SetInvokeHandler(LINK(this, SfxItemDisruptor_Impl, Delete));
m_Idle.SetPriority(TaskPriority::DEFAULT_IDLE);
m_Idle.SetDebugName("sfx::SfxItemDisruptor_Impl m_Idle");
DBG_ASSERT( 0 == pItem->GetRefCount(), "disrupting pooled item" );
pItem->SetKind(SfxItemKind::DeleteOnIdle);
......
......@@ -831,6 +831,7 @@ GraphicCache::GraphicCache( sal_uLong nDisplayCacheSize, sal_uLong nMaxObjDispla
{
maReleaseTimer.SetInvokeHandler( LINK( this, GraphicCache, ReleaseTimeoutHdl ) );
maReleaseTimer.SetTimeout( 10000 );
maReleaseTimer.SetDebugName( "svtools::GraphicCache maReleaseTimer" );
maReleaseTimer.Start();
}
......
......@@ -60,6 +60,7 @@ struct SvxModifyControl::ImplData
maImages[MODIFICATION_STATE_FEEDBACK] = Image(BitmapEx(RID_SVXBMP_DOC_MODIFIED_FEEDBACK));
maIdle.SetPriority(TaskPriority::LOWEST);
maIdle.SetDebugName("svx::SvxModifyControl maIdle");
}
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment