UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
TScopedDurationThreadSafeTimer< ThreadSafeCounterClass > Class Template Reference

#include <ScopedTimers.h>

Public Member Functions

 TScopedDurationThreadSafeTimer (ThreadSafeCounterClass &InCounter)
 
 ~TScopedDurationThreadSafeTimer ()
 

Detailed Description

template<typename ThreadSafeCounterClass>
class TScopedDurationThreadSafeTimer< ThreadSafeCounterClass >

Utility class for tracking the duration of a scoped action to an accumulator in a thread-safe fashion. Can accumulate into a 32bit or 64bit counter.

ThreadSafeCounterClass is expected to be a thread-safe type with a non-static member Add(uint32) that will work correctly if called from multiple threads simultaneously.

Constructor & Destructor Documentation

◆ TScopedDurationThreadSafeTimer()

◆ ~TScopedDurationThreadSafeTimer()


The documentation for this class was generated from the following file: