![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <ScopedTimers.h>
Inheritance diagram for FScopedDurationAtomicTimer:Public Member Functions | |
| FScopedDurationAtomicTimer (std::atomic< double > &AccumulatorIn, std::memory_order InMemoryOrder=std::memory_order_relaxed) | |
| ~FScopedDurationAtomicTimer () | |
Public Member Functions inherited from FDurationAtomicTimer | |
| FDurationAtomicTimer (std::atomic< double > &AccumulatorIn, std::memory_order InMemoryOrder=std::memory_order_relaxed) | |
| double | Start () |
| double | Stop () |
Additional Inherited Members | |
Protected Attributes inherited from FDurationAtomicTimer | |
| double | StartTime |
| std::atomic< double > & | Accumulator |
| std::memory_order | MemoryOrder |
Utility class for tracking the duration of a scoped action (the user doesn't have to call Start() and Stop() manually), when the storage is std::atomic<double>.
|
inlineexplicit |
|
inline |
Dtor, updating seconds with time delta.