Deprecate profiler categories based on global enum
(to be supplanted by registered budgets in the future) Signed-off-by: Jeremy Ong <jcong@amazon.com>
This commit is contained in:
@@ -197,7 +197,7 @@ namespace Vegetation
|
||||
|
||||
bool MeshBlockerComponent::PrepareToClaim([[maybe_unused]] EntityIdStack& stackIds)
|
||||
{
|
||||
AZ_PROFILE_FUNCTION(AZ::Debug::ProfileCategory::Entity);
|
||||
AZ_PROFILE_FUNCTION(Entity);
|
||||
|
||||
AZStd::lock_guard<decltype(m_cacheMutex)> cacheLock(m_cacheMutex);
|
||||
|
||||
@@ -217,7 +217,7 @@ namespace Vegetation
|
||||
|
||||
bool MeshBlockerComponent::ClaimPosition(EntityIdStack& processedIds, const ClaimPoint& point, InstanceData& instanceData)
|
||||
{
|
||||
AZ_PROFILE_FUNCTION(AZ::Debug::ProfileCategory::Entity);
|
||||
AZ_PROFILE_FUNCTION(Entity);
|
||||
|
||||
AZStd::lock_guard<decltype(m_cacheMutex)> cacheLock(m_cacheMutex);
|
||||
|
||||
@@ -283,7 +283,7 @@ namespace Vegetation
|
||||
|
||||
void MeshBlockerComponent::ClaimPositions(EntityIdStack& stackIds, ClaimContext& context)
|
||||
{
|
||||
AZ_PROFILE_FUNCTION(AZ::Debug::ProfileCategory::Entity);
|
||||
AZ_PROFILE_FUNCTION(Entity);
|
||||
|
||||
//adding entity id to the stack of entity ids affecting vegetation
|
||||
EntityIdStack emptyIds;
|
||||
@@ -371,7 +371,7 @@ namespace Vegetation
|
||||
|
||||
void MeshBlockerComponent::UpdateMeshData()
|
||||
{
|
||||
AZ_PROFILE_FUNCTION(AZ::Debug::ProfileCategory::Entity);
|
||||
AZ_PROFILE_FUNCTION(Entity);
|
||||
|
||||
AZStd::lock_guard<decltype(m_cacheMutex)> cacheLock(m_cacheMutex);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user