1 write to _componentHost
Microsoft.Build (1)
BackEnd\Components\Scheduler\Scheduler.cs (1)
630
_componentHost
= host;
31 references to _componentHost
Microsoft.Build (31)
BackEnd\Components\Scheduler\Scheduler.cs (31)
147
=> Traits.Instance.InProcNodeDisabled ||
_componentHost
.BuildParameters.DisableInProcNode;
410
ScheduleResponse response = TrySatisfyRequestFromCache(request.Parent.AssignedNode, request.BuildRequest, skippedResultsDoNotCauseCacheMiss:
_componentHost
.BuildParameters.SkippedResultsDoNotCauseCacheMiss());
557
ILoggingService loggingService =
_componentHost
.LoggingService;
631
_resultsCache = (IResultsCache)
_componentHost
.GetComponent(BuildComponentType.ResultsCache);
632
_configCache = (IConfigCache)
_componentHost
.GetComponent(BuildComponentType.ConfigCache);
633
_inprocNodeContext = new NodeLoggingContext(
_componentHost
.LoggingService, InProcNodeId, true);
797
if (
_componentHost
.BuildParameters.MaxNodeCount == 1)
824
if (
_componentHost
.BuildParameters.MaxNodeCount == 2)
1038
TraceScheduler("System load limit reached, cannot schedule new work. Executing: {0} Yielding: {1} Max Count: {2}", _schedulingData.ExecutingRequestsCount, _schedulingData.YieldingRequestsCount,
_componentHost
.BuildParameters.MaxNodeCount);
1258
TraceScheduler("System load limit reached, cannot schedule new work. Executing: {0} Yielding: {1} Max Count: {2}", _schedulingData.ExecutingRequestsCount, _schedulingData.YieldingRequestsCount,
_componentHost
.BuildParameters.MaxNodeCount);
1322
TraceScheduler("System load limit reached, cannot schedule new work. Executing: {0} Yielding: {1} Max Count: {2}", _schedulingData.ExecutingRequestsCount, _schedulingData.YieldingRequestsCount,
_componentHost
.BuildParameters.MaxNodeCount);
1388
_componentHost
.BuildParameters.DisableInProcNode || ForceAffinityOutOfProc,
1428
if (_schedulingData.ExecutingRequestsCount >=
_componentHost
.BuildParameters.MaxNodeCount)
1435
int limit =
_componentHost
.BuildParameters.MaxNodeCount switch
1438
2 =>
_componentHost
.BuildParameters.MaxNodeCount + 1 + _nodeLimitOffset,
1439
_ =>
_componentHost
.BuildParameters.MaxNodeCount + 2 + _nodeLimitOffset,
1477
int availableNodesWithOutOfProcAffinity =
_componentHost
.BuildParameters.MaxNodeCount - _currentOutOfProcNodeCount;
1519
if (inProcNodesToCreate < availableNodesWithInProcAffinity && !
_componentHost
.BuildParameters.DisableInProcNode)
1530
if (
_componentHost
.BuildParameters.DisableInProcNode)
1701
ScheduleResponse response = TrySatisfyRequestFromCache(nodeForResults, request, skippedResultsDoNotCauseCacheMiss:
_componentHost
.BuildParameters.SkippedResultsDoNotCauseCacheMiss());
1720
emitNonErrorLogs(
_componentHost
.LoggingService);
1847
ScheduleResponse response = TrySatisfyRequestFromCache(nodeForResults, request.BuildRequest, skippedResultsDoNotCauseCacheMiss:
_componentHost
.BuildParameters.SkippedResultsDoNotCauseCacheMiss());
1921
TraceScheduler("System load limit reached, cannot resume any more work. Executing: {0} Yielding: {1} Max Count: {2}", _schedulingData.ExecutingRequestsCount, _schedulingData.YieldingRequestsCount,
_componentHost
.BuildParameters.MaxNodeCount);
1965
ProjectIsolationMode isolateProjects =
_componentHost
.BuildParameters.ProjectIsolationMode;
1966
var configCache = (IConfigCache)
_componentHost
.GetComponent(BuildComponentType.ConfigCache);
2131
NodeLoggingContext nodeContext = new NodeLoggingContext(
_componentHost
.LoggingService, nodeId, true);
2150
if (
_componentHost
.BuildParameters.MaxNodeCount > 1)
2200
if (
_componentHost
.BuildParameters.HostServices != null)
2202
affinity =
_componentHost
.BuildParameters.HostServices.GetNodeAffinity(pathOfProject);
2829
plan.WritePlan(submissionId,
_componentHost
.LoggingService, new BuildEventContext(submissionId, 0, 0, 0, 0, 0));
2838
_schedulingPlan.ReadPlan(submissionId,
_componentHost
.LoggingService, new BuildEventContext(submissionId, 0, 0, 0, 0, 0));