#rb ben.woodhouse, tyler.staples
[FYI] richard.smith
#rnx
#tests Built and tested against Win64 Dedicated Server
[CL 36758211 by matt harris in 5.5 branch]
Additionally added 'GetCSVID' to the CSVProfiler so we can access the unique GUID for a CSV instance.
#rb andrew.ladenberger, carles.fernandez, Wes.Hunt
[FYI] richard.smith
#tests Tested against Win64 Server Cooked
#rnx
[CL 36429175 by matt harris in 5.5 branch]
- Changed the log message at end of analysis that displayes number of warnings to be a warning (instead of an error).
- Replaced usage of uint64_t with uint64.
#jira UE-223953
#rb Sebastian.Thomeczek
#rnx
[CL 36329861 by ionut matasaru in 5.5 branch]
- Added FCpuProfilerTrace::OutputEventType(Name, File, Line), with Name as an FName.
- Added FCpuProfilerTrace::OutputDynamicEventType(Name, File, Line) with Name as ANSICHAR*, TCHAR* or FName.
- Added FCpuProfilerTrace::OutputDynamicEventTypeWithId(Id, Name, File, Line) with Name as ANSICHAR* or TCHAR*.
- Added FCpuProfilerTrace::OutputBeginDynamicEventWithId(Id, const ANSICHAR* Name, File, Line), in addition to existing function that receives Name as TCHAR*.
- Added TRACE_CPUPROFILER_EVENT_MANUAL_END() macro to match TRACE_CPUPROFILER_EVENT_MANUAL_START macro.
#rb Catalin.Dragoiu, Johan.Berg
[CL 35449960 by ionut matasaru in ue5-main branch]
Fix trace stats bandwidth calculations by using runtime timestamps.
Get Engine presets from the runtime via Message Bus in Trace Control Window.
Fix crash when UE_TRACE_ENABLED is off.
#rb ionut.matasaru
#jira UE-215072
[CL 35401088 by catalin dragoiu in ue5-main branch]
Note:
- not enabled in shipping, currently only used to compute the Input latency debug stat as in other RHIs
- computed stats are currently different from Nvidia Reflex PC latency timing reports
- needs extra work to support g-sync/free sync monitors
#rb ionut.matasaru, Luke.Thatcher
#jira none
[CL 35053471 by daniele pieroni in ue5-main branch]
As part of this change we also promote dynamic resolution and IO/PackageQueueDepth stats to Minimal since they're important for high level performance reporting.
Also fix up a few places that were redundantly using #if CSV_PROFILER around CSV macros.
#rb mickael.gilabert
[CL 34386798 by ben woodhouse in ue5-main branch]
* Added bUnchecked template parameter to FCountersTrace::TCounter class. When enabled, the values are traced even if it does not change.
* Added UNCHECKED_* variants for all counter macros.
* Added macros for inline atomic counters (TRACE_ATOMIC_INT_VALUE, TRACE_ATOMIC_MEMORY_VALUE).
* Added TRACE_DECLARE_COUNTER(CounterType, CounterName, CounterDisplayName, CounterDisplayHint) API.
* Added support for atomic float counters (FCounterAtomicFloat, TRACE_ATOMIC_FLOAT_VALUE, TRACE_DECLARE_ATOMIC_FLOAT_COUNTER, etc.).
#jira UE-216225
#rb Catalin.Dragoiu
[FYI] Johan.Berg
[CL 34118035 by ionut matasaru in ue5-main branch]
In some cases it could be useful to trace detailed allocations without callstack, and solely rely on tags for analysis. Enable by starting the process with `-trace=memory_light`.
#rb ionut.matasaru, dmytro.ivanov
[CL 33652379 by johan berg in ue5-main branch]
- Fix TSAN warning and provide a bit of context of why that race is perfectly fine.
#rnx
#jira UE-214255
#rb kevin.macaulayvacher
[CL 33571983 by danny couture in ue5-main branch]
- CheckVerifyFailedImpl2: flushing the output device uses atomics
- DumpStackTraceToLog: flushing the output device uses atomics
- BasicFatalLog: invokes several debug utilities to print diagnostics and shut down the process
- BasicLog: uses atomics when GConvertBasicLogToLogRecord is true
- IsEnsureAllowed: generic platform init stuff
- GetNamePool: static object initialization
- GetCurrentThreadCallstack: internally takes locks
- CsvProfiler: push/pop-style profiler
- MakeUniqueObjectName: use of atomics
#rb Brandon.Schaefer
[CL 33514601 by michael nicolella in ue5-main branch]
Adds a control layer for Trace (TraceService) and a controller (TraceController) integrated into SessionServices. This allows remote control of trace over messge bus.
#rb Catalin.Dragoiu, ionut.matasaru, Josie.Yang
[CL 33260646 by johan berg in ue5-main branch]