Commit Graph

287 Commits

Author SHA1 Message Date
Catalin Dragoiu
df4e63ebf8 Fix non unity compile error
#rb trivial

[CL 16994685 by Catalin Dragoiu in ue5-main branch]
2021-07-29 08:53:58 -04:00
Martin Ridgers
3393e39965 Removed use of trace event attachments to send the packed CPU enter/exit timestamps in favour of an array-type field.
#rb cm
#rnx

[CL 16981291 by Martin Ridgers in ue5-main branch]
2021-07-28 08:26:51 -04:00
Martin Ridgers
40f6691fb0 Changed bookmarks trace events with an array-type field instead of using attachments.
#rb cm
#rnx

[CL 16981262 by Martin Ridgers in ue5-main branch]
2021-07-28 08:23:30 -04:00
Joe Kirchoff
2c2c2388cc Remove reference to unused header AtomicQueue/AtomicQueue.h. Make it a simple external module in case anyone needs it in the future
#rb trivial
#rnx
#preflight 61009082431c7800012fcdd3

[CL 16977624 by Joe Kirchoff in ue5-main branch]
2021-07-27 21:16:52 -04:00
geoff evans
68961fa528 IterationProfile: Disable trace server via cmdline arg
This change eliminates an intermittent warning print that only seems to happen on the SummarizeTraceCommandlet, and we don't need the trace server for that commandlet to do it's job.

#jira none
#rb francis.hurteau
#preflight 60ff3329b2a55c000130c78a
#robomerge Private-Frosty

[CL 16968260 by geoff evans in ue5-main branch]
2021-07-27 10:01:10 -04:00
Simon Tourangeau
208c0e28d3 Fix path to launch UnrealTraceServer
#jira UE-120128
#rb none
#rnx

[CL 16927478 by Simon Tourangeau in ue5-main branch]
2021-07-22 13:51:18 -04:00
zach bethel
f311bbc7a1 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

[CL 16838717 by zach bethel in ue5-main branch]
2021-07-13 12:38:27 -04:00
Martin Ridgers
37b76c8360 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

[CL 16741479 by Martin Ridgers in ue5-main branch]
2021-06-22 07:33:19 -04:00
Martin Ridgers
a7f9ee9069 - 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

[CL 16741421 by Martin Ridgers in ue5-main branch]
2021-06-22 07:28:43 -04:00
Martin Ridgers
51a8498dc6 Removed extra-size parameters for events that don't need them.
[CL 16739627 by Martin Ridgers in ue5-main branch]
2021-06-22 02:42:51 -04:00
Joe Kirchoff
a1d7a8c3c7 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

[CL 16730633 by Joe Kirchoff in ue5-main branch]
2021-06-21 14:04:04 -04:00
ionut matasaru
16ed95ae22 [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

[CL 16726078 by ionut matasaru in ue5-main branch]
2021-06-21 06:27:51 -04:00
ionut matasaru
36b7e864ce Fix for CIS compile error (-DisableUnity).
#rb none

[CL 16674353 by ionut matasaru in ue5-main branch]
2021-06-15 11:46:01 -04:00
ionut matasaru
6bfb55b3bd [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

[CL 16657504 by ionut matasaru in ue5-main branch]
2021-06-14 08:51:02 -04:00
Catalin Dragoiu
c94e7ffa64 Non Unity include fixes #rb trivial #rnx
[CL 16642991 by Catalin Dragoiu in ue5-main branch]
2021-06-11 12:31:16 -04:00
Martin Ridgers
2ecf66a194 - 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

[CL 16638135 by Martin Ridgers in ue5-main branch]
2021-06-11 03:48:12 -04:00
Martin Ridgers
4e43d8af98 Renamed "UnrealTrace.exe" to "UnrealTraceServer.exe"
#rnx

[CL 16620134 by Martin Ridgers in ue5-main branch]
2021-06-10 05:18:45 -04:00
Martin Ridgers
243fa16521 Non-unity include fix.
#rb trivial
#rnx

[CL 16606964 by Martin Ridgers in ue5-main branch]
2021-06-09 12:27:03 -04:00
Martin Ridgers
516ced8c21 Start the UnrealTrace server implicitly when non-programs launch, and when external platforms are launched through UAT.
#rb jb
#rnx

[CL 16603787 by Martin Ridgers in ue5-main branch]
2021-06-09 08:49:10 -04:00
robomerge
e14a28d9b3 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 via CL 16566199
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Test -> Main) (v828-16531559)

[CL 16566204 by robomerge in ue5-main branch]
2021-06-06 14:58:46 -04:00
robert millar
2d3f6490dd 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 via CL 16554515
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Test -> Main) (v828-16531559)

[CL 16554522 by robert millar in ue5-main branch]
2021-06-03 18:20:03 -04:00
robert millar
01b244561b 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 via CL 16509821
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Test -> Main) (v826-16501804)

[CL 16509824 by robert millar in ue5-main branch]
2021-05-31 12:35:26 -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