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
@@ -27,7 +27,6 @@
#include <AtomCore/Instance/InstanceDatabase.h>
#include <AzCore/Debug/EventTrace.h>
#include <AzCore/Interface/Interface.h>
#include <AzCore/Interface/Interface.h>
#include <AzCore/Asset/AssetManager.h>
@@ -16,7 +16,6 @@
#include <Atom/RHI/Factory.h>
#include <AzCore/Debug/EventTrace.h>
#include <AtomCore/Instance/InstanceDatabase.h>
// Enable this define to debug output streaming image initialization and expanding process.
@@ -111,7 +110,7 @@ namespace AZ
RHI::ResultCode StreamingImage::Init(StreamingImageAsset& imageAsset)
{
AZ_TRACE_METHOD();
AZ_PROFILE_FUNCTION(RPI);
Data::Instance<StreamingImagePool> pool;
if (imageAsset.GetPoolAssetId().IsValid())
@@ -12,9 +12,10 @@
#include <AtomCore/Instance/InstanceDatabase.h>
#include <AzCore/Debug/EventTrace.h>
#include <AzCore/Jobs/Job.h>
AZ_DECLARE_BUDGET(RPI);
namespace AZ
{
namespace RPI
@@ -34,7 +35,7 @@ namespace AZ
void StreamingImageController::AttachImage(StreamingImage* image)
{
AZ_TRACE_METHOD();
AZ_PROFILE_FUNCTION(RPI);
AZ_Assert(image, "Image must not be null");
@@ -69,7 +70,7 @@ namespace AZ
void StreamingImageController::Update()
{
AZ_TRACE_METHOD();
AZ_PROFILE_FUNCTION(RPI);
AZStd::lock_guard<AZStd::mutex> lock(m_mutex);
UpdateInternal(m_timestamp, m_contexts);
@@ -14,7 +14,6 @@
#include <Atom/RHI/Factory.h>
#include <AzCore/Debug/EventTrace.h>
#include <AtomCore/Instance/InstanceDatabase.h>
namespace AZ
@@ -43,7 +42,7 @@ namespace AZ
RHI::ResultCode StreamingImagePool::Init(RHI::Device& device, StreamingImagePoolAsset& poolAsset)
{
AZ_TRACE_METHOD();
AZ_PROFILE_FUNCTION(RPI);
if (Validation::IsEnabled())
{