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:
@@ -148,7 +148,7 @@ namespace Audio
|
||||
///////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
void CAudioTranslationLayer::Update()
|
||||
{
|
||||
AZ_PROFILE_FUNCTION(AZ::Debug::ProfileCategory::Audio);
|
||||
AZ_PROFILE_FUNCTION(Audio);
|
||||
|
||||
auto current = AZStd::chrono::system_clock::now();
|
||||
m_elapsedTime = AZStd::chrono::duration_cast<duration_ms>(current - m_lastUpdateTime);
|
||||
@@ -2016,7 +2016,7 @@ namespace Audio
|
||||
///////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
void CAudioTranslationLayer::DrawAudioSystemDebugInfo()
|
||||
{
|
||||
AZ_PROFILE_FUNCTION(AZ::Debug::ProfileCategory::Audio);
|
||||
AZ_PROFILE_FUNCTION(Audio);
|
||||
|
||||
// ToDo: Update to work with Atom? LYN-3677
|
||||
/*if (CVars::s_debugDrawOptions.GetRawFlags() != 0)
|
||||
|
||||
Reference in New Issue
Block a user