Commit Graph

281 Commits

Author SHA1 Message Date
zach bethel
5ec769f91e RDG Parallel Execution (disabled by default)
- Refactored RDG to support free-threaded execution of passes.
 - Refactored renderer to use specific RHI command list variants in pass lambda. Immediate command list passes are forced to stay on the render thread, while other variants can be parallelized.

#rb christopher.waters

#ROBOMERGE-SOURCE: CL 16838717 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v836-16769935)

[CL 16838724 by zach bethel in ue5-release-engine-test branch]
2021-07-13 12:38:37 -04:00
martin ridgers
8ed619a980 UE_APP_NAME is not unique if the build environment is "shared" (such is the case for installed builds). This makes it difficult to identify traces from monolithic builds. Use the project name set by UBT instead if available.
#rb jb
#rnx
#jira UE-100244

#ROBOMERGE-SOURCE: CL 16741479 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v835-16672529)

[CL 16741494 by martin ridgers in ue5-release-engine-test branch]
2021-06-22 07:34:40 -04:00
martin ridgers
94f286cc28 - Removed explicit launching of the trace server in a couple of plugins. It was added temporarily to gather more information from CIS.
#rb jb
#rnx

#ROBOMERGE-SOURCE: CL 16741421 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v835-16672529)

[CL 16741432 by martin ridgers in ue5-release-engine-test branch]
2021-06-22 07:29:45 -04:00
martin ridgers
20872cf4e4 Removed extra-size parameters for events that don't need them.
#ROBOMERGE-SOURCE: CL 16739627 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v835-16672529)

[CL 16739635 by martin ridgers in ue5-release-engine-test branch]
2021-06-22 02:43:56 -04:00
joe kirchoff
d030dcdf10 Support VisualStudio2022 as a source code accessor and compilier
Note: _MSC_VER is still 1929 with the VS2022 preview, I expect it to be 1930 eventually when the compiler version is bumped which should match the versioning scheme for every other VS release

#rb none
#preflight 60d0c0d878c3b00001e335d9

#ROBOMERGE-SOURCE: CL 16730633 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v835-16672529)

[CL 16730641 by joe kirchoff in ue5-release-engine-test branch]
2021-06-21 14:05:15 -04:00
ionut matasaru
a51bcbd384 [Insights]
Updated the name of the Windows event used to force single instance of UnrealInsights.exe (Browser Mode) and to control when to try to auto-connect. This change allows UnrealInsights.exe from UE5 to coexists with a running instance from UE4.
  Also updated the comments to better explain how the Windows event is used.
  Trace auto-connect behavior remains the same: a game runtime (editor excluded) will try to auto-connect with a local trace store (now hosted by the UnrealTraceServer.exe) if UnrealInsights (Browser Mode) is running.

#rb Martin.Ridgers

#ROBOMERGE-SOURCE: CL 16726078 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v835-16672529)

[CL 16726101 by ionut matasaru in ue5-release-engine-test branch]
2021-06-21 06:29:41 -04:00
ionut matasaru
b728114374 Fix for CIS compile error (-DisableUnity).
#rb none

#ROBOMERGE-SOURCE: CL 16674353 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v835-16672529)

[CL 16674364 by ionut matasaru in ue5-release-engine-test branch]
2021-06-15 11:46:47 -04:00
ionut matasaru
11690154ef [Insights]
- Fixed tracing of UObject names and function names (UObject::CallFunction, FScopeCycleCounterUObject) when "stat named events" toggle is enabled (-statnamedevents, "stat NamedEvents" console command).
  - Added FCpuProfilerTrace::OutputBeginDynamicEvent(const FName), in addition to existing API that receives const ANSICHAR*  or const TCHAR*. It uses a separate DynamicFNameScopeNamesMap.

#rb Johan.Berg
[FYI] Jeff.Farris

#ROBOMERGE-SOURCE: CL 16657504 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v833-16641396)

[CL 16657509 by ionut matasaru in ue5-release-engine-test branch]
2021-06-14 08:51:25 -04:00
catalin dragoiu
88100b2d6d Non Unity include fixes #rb trivial #rnx
#ROBOMERGE-SOURCE: CL 16642991 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v833-16641396)

[CL 16642998 by catalin dragoiu in ue5-release-engine-test branch]
2021-06-11 12:32:43 -04:00
martin ridgers
30175514b7 - Expose starting UnrealTraceServer to give dependents peace of mind. This is not normally required as the server should get launched when trace is initialised. However this initialisation happens so early that CIS tests/automation doesn't capture the TTY output making it difficult to investigate CIS-only issues. This is a strategic submit to push the TTY output later.
- Renamed StartUnrealTrace() to LaunchUnrealTrace() to be more indicative that it runs something.

#rb jb
#rnx

#ROBOMERGE-SOURCE: CL 16638135 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v831-16623017)

[CL 16638137 by martin ridgers in ue5-release-engine-test branch]
2021-06-11 03:48:54 -04:00
martin ridgers
bd208dd762 Renamed "UnrealTrace.exe" to "UnrealTraceServer.exe"
#rnx

#ROBOMERGE-SOURCE: CL 16620134 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v830-16605563)

[CL 16620147 by martin ridgers in ue5-release-engine-test branch]
2021-06-10 05:20:30 -04:00
martin ridgers
737acfd5de Non-unity include fix.
#rb trivial
#rnx

#ROBOMERGE-SOURCE: CL 16606964 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v828-16531559)

[CL 16606971 by martin ridgers in ue5-release-engine-test branch]
2021-06-09 12:28:35 -04:00
martin ridgers
f7326e281e Start the UnrealTrace server implicitly when non-programs launch, and when external platforms are launched through UAT.
#rb jb
#rnx

#ROBOMERGE-SOURCE: CL 16603787 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v828-16531559)

[CL 16603799 by martin ridgers in ue5-release-engine-test branch]
2021-06-09 08:51:18 -04:00
robomerge
a39dd7dff4 Add Csv metadata for DeviceID, LoginID. Cleanup metadata setters in CsvProfiler - handle permanent metadata once only; always use internal method
#ROBOMERGE-SOURCE: CL 16566159 via CL 16566196
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v828-16531559)
#ROBOMERGE[STARSHIP]: UE5-Main

[CL 16566199 by robomerge in ue5-release-engine-test branch]
2021-06-06 14:58:05 -04:00
robert millar
30ed588107 Back out CsvProfiler changes: Add SetAndHold command to csv profiler custom stats to allow infrequently updated statistics to have their value persisted.
[FYI] ben.woodhouse

#ROBOMERGE-SOURCE: CL 16554462 via CL 16554473 via CL 16554480 via CL 16554514
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v828-16531559)
#ROBOMERGE[STARSHIP]: UE5-Main

[CL 16554515 by robert millar in ue5-release-engine-test branch]
2021-06-03 18:19:13 -04:00
robert millar
3a4438b84d Add SetAndHold command to csv profiler custom stats to allow infrequently updated statistics to have their value persisted.
#ROBOMERGE-SOURCE: CL 16509803 via CL 16509813 via CL 16509817 via CL 16509820
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v826-16501804)
#ROBOMERGE[STARSHIP]: UE5-Main

[CL 16509821 by robert millar in ue5-release-engine-test branch]
2021-05-31 12:34:52 -04:00
Martin Ridgers
5b181f40df Do not allocate space for an attachment on the trace event as this event does not attach anything.
[CL 16508579 by Martin Ridgers in ue5-main branch]
2021-05-31 07:57:20 -04:00
Martin Ridgers
f26bd5b73c Added some new "trace." console commands;
trace.pause/resume - pauses and resumes the tracing of events
trace.send <host> - send a trace over the wire to "host".

#rb jb

[CL 16507790 by Martin Ridgers in ue5-main branch]
2021-05-31 02:43:05 -04:00
aurel cordonnier
43fa62fcd8 Merge from Release-Engine-Test @ 16487383 to UE5/Main
This represents UE4/Main @ 16445039 and Dev-PerfTest @ 16444526

[CL 16488106 by aurel cordonnier in ue5-main branch]
2021-05-27 13:40:37 -04:00
Martin Ridgers
422baae1e8 Compile fix as my one was incorrect.
#fyi martins.mozeiko
#rnx

[CL 16364944 by Martin Ridgers in ue5-main branch]
2021-05-18 05:10:40 -04:00
Martin Ridgers
8734c5def1 No-unity compile fixes.
#fyi martins.mozeiko
#rnx

[CL 16364805 by Martin Ridgers in ue5-main branch]
2021-05-18 04:24:30 -04:00
martins mozeiko
2c17e2df6d Fix shutdown code of ETW tracing, and do not log warning on startup if ETW is not enabled yet
#rb Ionut.Matasaru

[CL 16358926 by martins mozeiko in ue5-main branch]
2021-05-17 16:49:01 -04:00
martins mozeiko
2208dade76 Add context switch and stack sampling trace collection on Windows using ETW
#rb Ionut.Matasaru

[CL 16357198 by martins mozeiko in ue5-main branch]
2021-05-17 15:28:50 -04:00
geoff evans
e1d1984bd4 Add support for trace counters to stall detector and trace summarize commandlet for telemetry in Iteration Profile
StallDetector:
* Replace static and per-callsite counter variables with trace classes
* Compose a trace api appropriate counter name (Stall Detector category)

SummarizeTraceCommandlet:
* Add support for extract and decode of counter messages from utrace files with a new analyzer class
* Report counters with name and count columns in the existing csv
* Support generation of counter events and values through to telemetry csv

#jira UETOOL-3506
#rb francis.hurteau
#preflight 609c5f45e88e9100010b5466

[CL 16314462 by geoff evans in ue5-main branch]
2021-05-13 12:37:02 -04:00
ionut matasaru
2d5c799e12 [Insights]
- Added new trace events to track the ReOpenFile API. Updated the PlatformFileTraceAnalysis to process the respective new trace events. This fixes the issue where activities were displayed in Unreal Insights as I/O events with "Unknown" file (UE-114506).
  - Updated warning messages and debug code in PlatformFileTraceAnalysis.
  - Added handle tracking in Insights for I/O Activity events. File handle and read/write handles are now displayed in tooltip of an I/O Activity event.
  - Added "ReOpen" as a separate I/O activity type.

#jira UE-114506
#rb Catalin.Dragoiu, Robert.Millar

[CL 16310259 by ionut matasaru in ue5-main branch]
2021-05-13 03:13:34 -04:00