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:
@@ -8,6 +8,7 @@
|
||||
|
||||
#include <ExpressionEvaluationSystemComponent.h>
|
||||
|
||||
#include <AzCore/Debug/Profiler.h>
|
||||
#include <AzCore/Serialization/SerializeContext.h>
|
||||
#include <AzCore/Serialization/EditContext.h>
|
||||
#include <AzCore/Serialization/EditContextConstants.inl>
|
||||
@@ -251,7 +252,7 @@ namespace ExpressionEvaluation
|
||||
|
||||
AZ::Outcome<void, ParsingError> ExpressionEvaluationSystemComponent::ParseRestrictedExpressionInPlace(const AZStd::unordered_set<ExpressionParserId>& parsers, AZStd::string_view expressionString, ExpressionTree& expressionTree) const
|
||||
{
|
||||
AZ_PROFILE_TIMER("ExpressionEvaluation", __FUNCTION__);
|
||||
AZ_PROFILE_FUNCTION(ExpressionEvaluation);
|
||||
|
||||
expressionTree.ClearTree();
|
||||
|
||||
@@ -513,7 +514,7 @@ namespace ExpressionEvaluation
|
||||
|
||||
ExpressionResult ExpressionEvaluationSystemComponent::Evaluate(const ExpressionTree& expressionTree) const
|
||||
{
|
||||
AZ_PROFILE_TIMER("ExpressionEvaluation", __FUNCTION__);
|
||||
AZ_PROFILE_SCOPE("ExpressionEvaluation", __FUNCTION__);
|
||||
|
||||
ExpressionResultStack resultStack;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user