FDerivedDataCacheUsageStats::TimeGet

Call this at the top of the GetCachedData override.

Unreal Engine C++ API Reference > Developer > DerivedDataCache > FDerivedDataCacheUsageStats

References

   
Module DerivedDataCache
Header /Engine/Source/Developer/DerivedDataCache/Public/DerivedDataCacheUsageStats.h
Include #include "DerivedDataCacheUsageStats.h"
[FCookStats::FScopedStatsCounter](API\Runtime\Core\ProfilingDebugging\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.


Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library