2 writes to _nodeCoreAllocationWeight
Microsoft.Build (2)
BackEnd\Components\Scheduler\Scheduler.cs (2)
218
if (!int.TryParse(Environment.GetEnvironmentVariable("MSBUILDNODECOREALLOCATIONWEIGHT"), out
_nodeCoreAllocationWeight
)
222
_nodeCoreAllocationWeight
= 0;
3 references to _nodeCoreAllocationWeight
Microsoft.Build (3)
BackEnd\Components\Scheduler\Scheduler.cs (3)
219
||
_nodeCoreAllocationWeight
<= 0
220
||
_nodeCoreAllocationWeight
> 100)
1408
int implicitlyGrantedCores = Math.Max(1, (_schedulingData.ExecutingRequestsCount *
_nodeCoreAllocationWeight
) / 100);