2 writes to TotalMemoryBytes
Microsoft.Build.Framework (2)
Telemetry\TaskExecutionStats.cs (1)
66
TotalMemoryBytes
= (TotalMemoryBytes ?? 0) + other.TotalMemoryBytes.Value;
Telemetry\WorkerNodeTelemetryData.cs (1)
74
taskExecutionStats.
TotalMemoryBytes
= (taskExecutionStats.TotalMemoryBytes ?? 0) + totalMemoryConsumption.Value;
12 references to TotalMemoryBytes
Microsoft.Build (2)
TelemetryInfra\InternalTelemetryConsumingLogger.cs (2)
74
foreach (var task in _workerNodeTelemetryData.TasksExecutionData.OrderByDescending(t => t.Value.
TotalMemoryBytes
?? -1))
76
string memory = task.Value.
TotalMemoryBytes
is long totalMemoryBytes
Microsoft.Build.Framework (10)
Telemetry\TaskExecutionStats.cs (6)
64
if (other.
TotalMemoryBytes
.HasValue)
66
TotalMemoryBytes = (
TotalMemoryBytes
?? 0) + other.
TotalMemoryBytes
.Value;
86
TotalMemoryBytes
== other.
TotalMemoryBytes
&&
97
hashCode = (hashCode * 397) ^
TotalMemoryBytes
.GetHashCode();
Telemetry\TelemetryDataUtils.cs (1)
128
stats.
TotalMemoryBytes
;
Telemetry\WorkerNodeTelemetryData.cs (2)
40
AddTask(task.Key, task.Value.CumulativeExecutionTime, task.Value.ExecutionsCount, task.Value.
TotalMemoryBytes
, task.Value.TaskFactoryName, task.Value.TaskHostRuntime);
74
taskExecutionStats.TotalMemoryBytes = (taskExecutionStats.
TotalMemoryBytes
?? 0) + totalMemoryConsumption.Value;
Telemetry\WorkerNodeTelemetryEventArgs.cs (1)
31
writer.Write(entry.Value.
TotalMemoryBytes
?? -1);