1 write to Index
Microsoft.TestPlatform.CrossPlatEngine (1)
Client\Parallel\ParallelOperationManager.cs (1)
73
_managerSlots.AddRange(Enumerable.Range(0, MaxParallelLevel + PreStartCount).Select(i => new Slot {
Index
= i }));
4 references to Index
Microsoft.TestPlatform.CrossPlatEngine (4)
Client\Parallel\ParallelOperationManager.cs (4)
86
EqtTrace.Verbose($"Occupied slots:\n{(string.Join("\n", _managerSlots.Where(s => s.HasWork).Select((slot) => $"{slot.
Index
}: {GetSourcesForSlotExpensive(slot)}").ToArray()))}");
223
EqtTrace.Verbose($"ParallelOperationManager.RunWorkInParallel: Started host in slot number {slot.
Index
} for work (source): {GetSourcesForSlotExpensive(slot)}.");
296
EqtTrace.Verbose($"ParallelOperationManager.ClearCompletedSlot: Clearing slot number {completedSlot[0].
Index
} with work (source): {GetSourcesForSlotExpensive(completedSlot[0])}.");
399
return $"{
Index
}: HasWork: {HasWork}, ShouldPreStart: {ShouldPreStart}, IsPreStarted: {IsPreStarted}, IsRunning: {IsRunning}";