/Engine/Source/Runtime/Core/Public/ProfilingDebugging/ScopedTimers.h
Utility class for logging the duration of a scoped action (the user doesn't have to call Start() and Stop() manually) using a custom output function.
template<class Func> class FScopedDurationTimeCustomLogger