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; 410ScheduleResponse response = TrySatisfyRequestFromCache(request.Parent.AssignedNode, request.BuildRequest, skippedResultsDoNotCauseCacheMiss: _componentHost.BuildParameters.SkippedResultsDoNotCauseCacheMiss()); 557ILoggingService 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); 797if (_componentHost.BuildParameters.MaxNodeCount == 1) 824if (_componentHost.BuildParameters.MaxNodeCount == 2) 1038TraceScheduler("System load limit reached, cannot schedule new work. Executing: {0} Yielding: {1} Max Count: {2}", _schedulingData.ExecutingRequestsCount, _schedulingData.YieldingRequestsCount, _componentHost.BuildParameters.MaxNodeCount); 1258TraceScheduler("System load limit reached, cannot schedule new work. Executing: {0} Yielding: {1} Max Count: {2}", _schedulingData.ExecutingRequestsCount, _schedulingData.YieldingRequestsCount, _componentHost.BuildParameters.MaxNodeCount); 1322TraceScheduler("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, 1428if (_schedulingData.ExecutingRequestsCount >= _componentHost.BuildParameters.MaxNodeCount) 1435int limit = _componentHost.BuildParameters.MaxNodeCount switch 14382 => _componentHost.BuildParameters.MaxNodeCount + 1 + _nodeLimitOffset, 1439_ => _componentHost.BuildParameters.MaxNodeCount + 2 + _nodeLimitOffset, 1477int availableNodesWithOutOfProcAffinity = _componentHost.BuildParameters.MaxNodeCount - _currentOutOfProcNodeCount; 1519if (inProcNodesToCreate < availableNodesWithInProcAffinity && !_componentHost.BuildParameters.DisableInProcNode) 1530if (_componentHost.BuildParameters.DisableInProcNode) 1701ScheduleResponse response = TrySatisfyRequestFromCache(nodeForResults, request, skippedResultsDoNotCauseCacheMiss: _componentHost.BuildParameters.SkippedResultsDoNotCauseCacheMiss()); 1720emitNonErrorLogs(_componentHost.LoggingService); 1847ScheduleResponse response = TrySatisfyRequestFromCache(nodeForResults, request.BuildRequest, skippedResultsDoNotCauseCacheMiss: _componentHost.BuildParameters.SkippedResultsDoNotCauseCacheMiss()); 1921TraceScheduler("System load limit reached, cannot resume any more work. Executing: {0} Yielding: {1} Max Count: {2}", _schedulingData.ExecutingRequestsCount, _schedulingData.YieldingRequestsCount, _componentHost.BuildParameters.MaxNodeCount); 1965ProjectIsolationMode isolateProjects = _componentHost.BuildParameters.ProjectIsolationMode; 1966var configCache = (IConfigCache)_componentHost.GetComponent(BuildComponentType.ConfigCache); 2131NodeLoggingContext nodeContext = new NodeLoggingContext(_componentHost.LoggingService, nodeId, true); 2150if (_componentHost.BuildParameters.MaxNodeCount > 1) 2200if (_componentHost.BuildParameters.HostServices != null) 2202affinity = _componentHost.BuildParameters.HostServices.GetNodeAffinity(pathOfProject); 2829plan.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));