User-Defined "Performance Critical Context"?

Answered

Is there a way to declare "performance critical context" on an arbitrary method using attributes or comments? I have some frequently-invoked methods (nearly every frame) which I'd like to annotate in the same way as the Unity plugin does for Update().

0
2 comments

Hello,
Yes, there are attributes [PerformanceCharacteristicsHintAttribute] and [FrequentlyCalledMethodAttribute], example is on the screenshot. Let me know if you have other questions.

0
Avatar
Permanently deleted user

Olga, that seems exactly what I was referring to. Thank you very much. Cheers

0

Please sign in to leave a comment.