FCookStats::FScopedStatsCounter is now movable and copying is blocked to avoid incorrect behavior. This supports usage patterns such as: COOK_STAT(auto Timer = Condition ? UsageStats.TimeSyncWork() : UsageStats.TimeAsyncWork());
FCookStats::FDDCResourceUsage has been extracted into a standalone type, FDerivedDataUsageStats. The name is more in line with other DDC type names, and can now be forward-declared when necessary.
#rb Zousar.Shaker
[RN] minor Core/Cooker
#ROBOMERGE-SOURCE: CL 12472517 via CL 12472525 via CL 12472529 via CL 12472531
#ROBOMERGE-BOT: RELEASE (Release-Engine-Staging -> Main) (v672-12450963)
[CL 12472536 by devin doucette in Main branch]
[at]rb Mickael G. Jordan C.
#rnx
#ROBOMERGE-SOURCE: CL 11884794 via CL 11884801 via CL 11884807
#ROBOMERGE-BOT: (v656-11643781)
[CL 11889427 by serge bernier in Main branch]
#rb marc.audy
[FYI] Steve.Robb
#jira UE-87131
#ROBOMERGE-SOURCE: CL 11140226 via CL 11140233 via CL 11140235
#ROBOMERGE-BOT: (v640-11091645)
[CL 11140236 by michael noland in Main branch]
Performs better than mimalloc in cooker benchmarks, but we still default to TBB malloc until the behaviour has been explored in more depth
To opt in to mimalloc, pass -mimalloc on the command line
#rb none
[CL 11114787 by Stefan Boberg in Dev-Core branch]
* Rename CpuProfilerChannel to CpuChannel.
* Removed NamedEventsChannel and use CpuChannel.
#rb cm.nordin
[CL 11104150 by Johan Berg in Dev-Core branch]
- Ptrdiff -> int32
- Float/int confusion and double/float
- size_t stuff; various changes to the algorithms to use a deduced IndexType template argument and/or decltype to use the appropriate size for indicies and counts
- Fixed GetNum(FString) incorrectly returning SIZE_T instead of int32, and GetNum(container) now returns whatever container.Num() does (so usually int32)
#jira UE-86949
#rb marc.audy, steve.robb
#ROBOMERGE-OWNER: michael.noland
#ROBOMERGE-AUTHOR: michael.noland
#ROBOMERGE-SOURCE: CL 11050799 via CL 11050828 via CL 11050837
#ROBOMERGE-BOT: (v637-11041722)
[CL 11051763 by michael noland in Main branch]
Nested CpuProfiler scopes were ended too early in certain nested scenarios. This was solved by introducing a channel gate to OutputEndEvent. This means in order to see the cpu scopes from for example RHICommands channel, users also need to enable CpuProfilerChannel. Also removed bThreadEnabled which wasn't needed.
#rb cm.nordin
[CL 11041113 by Johan Berg in Dev-Core branch]
Systems that use TraceLog now uses channels to control if events are emitted. Also introduce a new command line argument "-trace" which allows users to specify a comma separated list of channel names to enable.
#rb martin.ridgers, ionut.matasaru
[CL 10950761 by Johan Berg in Dev-Core branch]
#rnx
#rb none
#ROBOMERGE-OWNER: ryan.durand
#ROBOMERGE-AUTHOR: ryan.durand
#ROBOMERGE-SOURCE: CL 10869210 via CL 10869511 via CL 10869900
#ROBOMERGE-BOT: (v613-10869866)
[CL 10870549 by ryan durand in Main branch]
Copy the metadata at the endCapture since the FinalizeCsvFile can happen a few frames later. We need to ensure that the metadata correspond to what happening BeginCapture/Endcapture. We enqueue the metadata, the same way we enqueue the start/stop command, so the will always match.
#rb serge.bernier
#ROBOMERGE-OWNER: ben.woodhouse
#ROBOMERGE-AUTHOR: ben.woodhouse
#ROBOMERGE-SOURCE: CL 10857164 via CL 10857231 via CL 10860499 via CL 10860511 via CL 10860522
#ROBOMERGE-BOT: (v610-10636431)
[CL 10860562 by ben woodhouse in Main branch]
[FYI] serge.bernier
#ROBOMERGE-OWNER: bob.tellez
#ROBOMERGE-AUTHOR: ben.woodhouse
#ROBOMERGE-SOURCE: CL 10839911 via CL 10839912 via CL 10843222 via CL 10843528 via CL 10843643
#ROBOMERGE-BOT: (v610-10636431)
[CL 10843805 by bob tellez in Main branch]
#rnx
#ROBOMERGE-OWNER: serge.bernier
#ROBOMERGE-AUTHOR: serge.bernier
#ROBOMERGE-SOURCE: CL 10806937 via CL 10806938 via CL 10806978 via CL 10806981 via CL 10806982
#ROBOMERGE-BOT: (v610-10636431)
[CL 10806983 by serge bernier in Main branch]
#rb cm
#jira none
#rnx
(ushell-p4-cherrypick of 9631298 by Martin.Ridgers)
(ushell-p4-cherrypick of 9631305 by Martin.Ridgers)
(ushell-p4-cherrypick of 9631347 by Martin.Ridgers)
#ROBOMERGE-SOURCE: CL 9676333 in //UE4/Release-4.24/...
#ROBOMERGE-BOT: RELEASE (Release-4.24 -> Main) (v536-9675740)
[CL 9676335 by martin ridgers in Main branch]
#rb ben.woodhouse, louisphilippe.seguin
#ROBOMERGE-SOURCE: CL 9442974 via CL 9443020 via CL 9443044
#ROBOMERGE-BOT: (v490-9439918)
[CL 9443058 by bart hawthorne in Main branch]