FDerivedDataCacheUsageStats::TimeGet

Call this at the top of the GetCachedData override.

Windows
MacOS
Linux

References

Module

DerivedDataCache

Header

/Engine/Source/Developer/DerivedDataCache/Public/DerivedDataCacheUsageStats.h

Include

#include "DerivedDataCacheUsageStats.h"

Syntax

FCookStats::FScopedStatsCounter TimeGet()

Remarks

Call this at the top of the GetCachedData override. auto Timer = TimeGet(); Use AddHit on the returned type to track a cache hit.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss