I have
Header:
Implementation:
And I try to use:
SCOPE_CYCLE_COUNTER(STAT_PostModifyAttribute);
And I get this:
...
Ok I managed to fix by declaring stat group locally for files I needed it.
But, now how do I display/get my stats ? I can't see them in profiler.
Header:
Code:
DECLARE_STATS_GROUP(TEXT("GameAttributes"), STATGROUP_GameAttributes, STATCAT_Advanced); DECLARE_CYCLE_STAT_EXTERN(TEXT("GameAttributesPostModifyAttribute"), STAT_PostModifyAttribute, STATGROUP_GameAttributes, );
Code:
#include "GameAttributes.h" #include "GAAttributesStats.h" DEFINE_STAT(STAT_PostModifyAttribute);
SCOPE_CYCLE_COUNTER(STAT_PostModifyAttribute);
And I get this:
...
Ok I managed to fix by declaring stat group locally for files I needed it.
But, now how do I display/get my stats ? I can't see them in profiler.
Comment