/Engine/Source/Runtime/Core/Public/ProfilingDebugging/CookStats.h
Used to accumulate cycles to aCallStatsinstance. Will also accumulate hit/miss stats in the dtor as well. If AddHit is not called, it will assume a miss. If AddMiss is called, it will convert the call to a miss.
class FScopedStatsCounter