Esempio n. 1
0
//-------------------------------------------------------------------------------------
bool DebugHelper::process()
{
	if(bufferedLogPackets_.size() == 0 || pNetworkInterface_ == NULL)
	{
		syncStarting_ = false;
		return false;
	}
	
	g_syncLogProfile.start();
	sync();
	g_syncLogProfile.stop();
	return true;
}
Esempio n. 2
0
	virtual void handleTimeout(TimerHandle handle, void * arg)
	{
		g_syncLogProfile.start();
		DebugHelper::getSingleton().sync();
		g_syncLogProfile.stop();
	}