1 2 3 4 5 6 7 8 9 10 11 12 13
| #include "Stats/Stats2.h" #include "Stats/Stats.h"
DECLARE_STATS_GROUP(TEXT("BasePlayerControllerAAAAA"), STATGROUP_BasePlayerControllerAAAAA, STATCAT_Advanced);
#if STATS const FString ___StatName = GetName()+"this Test Stat"; const TStatId StatId = FDynamicStats::CreateStatId<FStatGroup_STATGROUP_BasePlayerControllerAAAAA>(___StatName); FScopeCycleCounter CycleCounter(StatId); #endif
|