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
@@ -17,7 +17,6 @@
#include <AzCore/IO/SystemFile.h>
#include <AzCore/std/chrono/chrono.h>
#include <AzCore/std/string/conversions.h>
#include <AzCore/Debug/EventTrace.h>
#include <AzCore/StringFunc/StringFunc.h>
#include <AzFramework/API/ApplicationAPI.h>
@@ -28,6 +27,8 @@
#include <AzFramework/Asset/Benchmark/BenchmarkCommands.h>
#include <AzFramework/Network/AssetProcessorConnection.h>
AZ_DECLARE_BUDGET(AzFramework);
namespace AzFramework
{
namespace AssetBenchmark
@@ -302,7 +303,7 @@ namespace AzFramework
// SystemTickBus overrides
void AssetSystemComponent::OnSystemTick()
{
AZ_TRACE_METHOD();
AZ_PROFILE_FUNCTION(AzFramework);
LegacyAssetEventBus::ExecuteQueuedEvents();
}