コード例 #1
0
ファイル: debug_helper.cpp プロジェクト: MapleEve/kbengine
//-------------------------------------------------------------------------------------
bool DebugHelper::process()
{
	if(bufferedLogPackets_.size() == 0 || pNetworkInterface_ == NULL)
	{
		syncStarting_ = false;
		return false;
	}
	
	g_syncLogProfile.start();
	sync();
	g_syncLogProfile.stop();
	return true;
}
コード例 #2
0
ファイル: debug_helper.cpp プロジェクト: KitoHo/kbengine
	virtual void handleTimeout(TimerHandle handle, void * arg)
	{
		g_syncLogProfile.start();
		DebugHelper::getSingleton().sync();
		g_syncLogProfile.stop();
	}