Files
UnrealEngineUWP/Engine/Source/Runtime/Core/Private/ProfilingDebugging
ben woodhouse 90d3f15fd4 CSVProfiler - duplicate start/stop capture hardening
- Detect duplicate start/stop capture requests. If a Start or Stop request is already pending as the next command in the queue, disregard repeat requests and emit a warning. This avoids an edge case where duplicate EndCapture calls would cause old metadata to be emitted
- Add IsEndCapturePending() method so calling code can check if there's a pending EndCapture before calling EndCapture (instead of just checking IsCapturing, which will be true if an EndCapture is pending).

[CL 25018952 by ben woodhouse in ue5-main branch]
2023-04-12 19:30:16 -04:00
..