Changes call from AZ_TRACE to AZ_PROFILE. AZ_TRACE uses a driller bus that is going to be removed

Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
This commit is contained in:
Esteban Papp
2021-12-02 17:12:25 -08:00
parent c5460c2064
commit 0b9497cd45
129 changed files with 92 additions and 261 deletions
@@ -9,7 +9,8 @@
#include "CrySystem_precompiled.h"
#include "SystemEventDispatcher.h"
#include <AzCore/Debug/EventTrace.h>
AZ_DECLARE_BUDGET(CrySystem);
CSystemEventDispatcher::CSystemEventDispatcher()
: m_listeners(0)
@@ -72,7 +73,7 @@ void CSystemEventDispatcher::OnSystemEvent(ESystemEvent event, UINT_PTR wparam,
//////////////////////////////////////////////////////////////////////////
void CSystemEventDispatcher::Update()
{
AZ_TRACE_METHOD();
AZ_PROFILE_FUNCTION(CrySystem);
assert(gEnv && gEnv->mMainThreadId == CryGetCurrentThreadId());
SEventParams params;