Commit Graph

127 Commits

Author SHA1 Message Date
Ben Marsh
283935a9e7 Horde: Generate dynamic methods for serializing compact binary objects.
[CL 16994864 by Ben Marsh in ue5-main branch]
2021-07-29 09:20:21 -04:00
Ben Marsh
14ee4949f4 Horde: Add a simple, attribute-based serializer for compact binary objects.
[CL 16983777 by Ben Marsh in ue5-main branch]
2021-07-28 12:40:35 -04:00
Ben Marsh
33b6c4e43a UAT: Always include timestamps in the on-disk log, even if they aren't displayed on the console
[CL 16964873 by Ben Marsh in ue5-main branch]
2021-07-26 22:09:24 -04:00
joe kirchoff
d77482768d [Backout] - CL16961198
#fyi Joe.Kirchoff
Original CL Desc
-----------------------------------------------------------------
Use Microsoft.CodeAnalysis.CSharp.Workspaces for code analysis

#rb none
#rnx

[CL 16961691 by joe kirchoff in ue5-main branch]
2021-07-26 17:58:54 -04:00
Joe Kirchoff
8fcb4dc40e Use Microsoft.CodeAnalysis.CSharp.Workspaces for code analysis
#rb none
#rnx

[CL 16961198 by Joe Kirchoff in ue5-main branch]
2021-07-26 17:14:29 -04:00
Ben Marsh
e441178a81 Horde: Remove usages of ConcurrentBag in async code; seems to be leaking references to buffers through TLS because we're not draining the collection.
[CL 16960544 by Ben Marsh in ue5-main branch]
2021-07-26 16:06:08 -04:00
Ben Marsh
8a1de16645 Horde: Fix leak of stream objects from ManagedProcess.
[CL 16960514 by Ben Marsh in ue5-main branch]
2021-07-26 16:03:44 -04:00
Ben Marsh
6f92e8c5d4 Horde: Fix memory leak of Blake3.Hasher objects.
[CL 16960469 by Ben Marsh in ue5-main branch]
2021-07-26 16:02:18 -04:00
Joe Kirchoff
a3acc25bf4 HordeCommmon: RemoteExecution UploadList reading files and hashing async
#rb trivial
#rnx

[CL 16912098 by Joe Kirchoff in ue5-main branch]
2021-07-21 13:56:53 -04:00
Ben Marsh
044d68472a Horde: Additional debug logging for StatsV2 errors.
[CL 16909557 by Ben Marsh in ue5-main branch]
2021-07-21 10:44:46 -04:00
Ben Marsh
051411a367 Horde: Update version number for workspace snapshots, to prevent attempting to deserialize corrupt CB objects.
[CL 16889460 by Ben Marsh in ue5-main branch]
2021-07-19 17:39:47 -04:00
Ben Marsh
6b013e9a18 Horde: Fix superfluous length field being written out with object data.
[CL 16888502 by Ben Marsh in ue5-main branch]
2021-07-19 16:32:24 -04:00
Ben Marsh
bd841f5f2e Horde: Additional logging when stats file disappears.
[CL 16885085 by Ben Marsh in ue5-main branch]
2021-07-19 12:55:40 -04:00
Ben Marsh
802f7dbd51 Missing copyright notice.
[CL 16883799 by Ben Marsh in ue5-main branch]
2021-07-19 11:13:00 -04:00
Ben Marsh
43761d0be1 Horde: Separate implementation of stream snapshots from tree objects.
[CL 16883430 by Ben Marsh in ue5-main branch]
2021-07-19 10:34:55 -04:00
Ben Marsh
07cd00e3e8 Add Slice() extension method for List<T>, allowing use of ranges.
[CL 16883390 by Ben Marsh in ue5-main branch]
2021-07-19 10:30:48 -04:00
Ben Marsh
3e931e256f Horde: Reduce peak memory usage when building workspace snapshots. Was previously keeping references to Memory<byte> ranges within a much larger buffer, preventing them from being GC'd.
[CL 16867148 by Ben Marsh in ue5-main branch]
2021-07-15 16:56:05 -04:00
joe kirchoff
cb67a63224 UnrealBuildTool: Use process directly to get wall clock execution time
Process.StartTime raises an exception on non-windows platforms if the process has already exited, so cache it immediately after starting the FrameworkProcess
Process.TotalProcessorTime raises an exception on non-windows if the process has also exited, so don't do that

#rb none
#rnx

[CL 16863633 by joe kirchoff in ue5-main branch]
2021-07-15 12:25:31 -04:00
joe kirchoff
c096a7ee9e [Backout] - CL16863209
#fyi joe.kirchoff
Original CL Desc
-----------------------------------------------------------------
UnrealBuildTool: Use process directly to get wall clock execution time

Process.StartTime raises an exception on non-windows platforms if the process has already exited, so cache it immediately after starting the FrameworkProcess

#rb none
#rnx

[CL 16863370 by joe kirchoff in ue5-main branch]
2021-07-15 12:06:07 -04:00
Ben Marsh
c0b9519921 Horde: Output additional debug info when StatsV2 file is not found.
[CL 16863233 by Ben Marsh in ue5-main branch]
2021-07-15 11:55:01 -04:00
joe kirchoff
546d9539ee UnrealBuildTool: Use process directly to get wall clock execution time
Process.StartTime raises an exception on non-windows platforms if the process has already exited, so cache it immediately after starting the FrameworkProcess

#rb none
#rnx

[CL 16863209 by joe kirchoff in ue5-main branch]
2021-07-15 11:53:11 -04:00
joe kirchoff
a602b76893 [Backout] - CL16856917
#fyi Joe.Kirchoff
Original CL Desc
-----------------------------------------------------------------
UnrealBuildTool: Use process directly to get wall clock execution time

#rb none
#rnx

[CL 16857196 by joe kirchoff in ue5-main branch]
2021-07-14 19:22:25 -04:00
Joe Kirchoff
90a0d3f9ce UnrealBuildTool: Use process directly to get wall clock execution time
#rb none
#rnx

[CL 16856917 by Joe Kirchoff in ue5-main branch]
2021-07-14 18:56:32 -04:00
Ben Marsh
9f10c7c335 Fix AsBinary() returning the incorrect payload buffer for binary fields. Was causing Horde agents to deserialize incorrect hash values.
[CL 16852536 by Ben Marsh in ue5-main branch]
2021-07-14 13:55:32 -04:00
aurel cordonnier
ab8e255930 P4 Blame tool for P4V (requires input of the line number)
#rb marc.audy, ben.marsh
#jira none

[CL 16852242 by aurel cordonnier in ue5-main branch]
2021-07-14 13:23:58 -04:00