1 type derived from PerformanceCounter
Microsoft.Build (1)
Logging\ParallelLogger\ParallelConsoleLogger.cs (1)
1686internal class MPPerformanceCounter : PerformanceCounter
1 instantiation of PerformanceCounter
Microsoft.Build (1)
Logging\BaseConsoleLogger.cs (1)
686counter = new PerformanceCounter(scopeName);
28 references to PerformanceCounter
Microsoft.Build (28)
Logging\BaseConsoleLogger.cs (15)
674internal static PerformanceCounter GetPerformanceCounter(string scopeName, ref Dictionary<string, PerformanceCounter> table) 679table = new Dictionary<string, PerformanceCounter>(StringComparer.OrdinalIgnoreCase); 683PerformanceCounter counter; 697internal void DisplayCounters(Dictionary<string, PerformanceCounter> counters) 702perfCounters.Sort(PerformanceCounter.DescendingByElapsedTimeComparer); 708foreach (PerformanceCounter counter in perfCounters) 848PerformanceCounter p1 = (PerformanceCounter)o1; 849PerformanceCounter p2 = (PerformanceCounter)o2; 1184internal Dictionary<string, PerformanceCounter> projectPerformanceCounters; 1189internal Dictionary<string, PerformanceCounter> targetPerformanceCounters; 1194internal Dictionary<string, PerformanceCounter> taskPerformanceCounters; 1199internal Dictionary<string, PerformanceCounter> projectEvaluationPerformanceCounters;
Logging\ParallelLogger\ParallelConsoleLogger.cs (5)
1662internal static new MPPerformanceCounter GetPerformanceCounter(string scopeName, ref Dictionary<string, PerformanceCounter> table) 1667table = new Dictionary<string, PerformanceCounter>(StringComparer.OrdinalIgnoreCase); 1671PerformanceCounter counter; 1689private Dictionary<string, PerformanceCounter> _internalPerformanceCounters; 1772foreach (var counter in _internalPerformanceCounters.Values)
Logging\SerialConsoleLogger.cs (8)
264PerformanceCounter counter = GetPerformanceCounter(e.ProjectFile, ref projectPerformanceCounters); 295PerformanceCounter counter = GetPerformanceCounter(e.ProjectFile, ref projectPerformanceCounters); 347PerformanceCounter counter = GetPerformanceCounter(e.TargetName, ref targetPerformanceCounters); 370PerformanceCounter counter = GetPerformanceCounter(e.TargetName, ref targetPerformanceCounters); 431PerformanceCounter counter = GetPerformanceCounter(e.TaskName, ref taskPerformanceCounters); 454PerformanceCounter counter = GetPerformanceCounter(e.TaskName, ref taskPerformanceCounters); 563PerformanceCounter counter = GetPerformanceCounter(projectEvaluationStarted.ProjectFile, ref projectEvaluationPerformanceCounters); 571PerformanceCounter counter = GetPerformanceCounter(projectEvaluationFinished.ProjectFile, ref projectEvaluationPerformanceCounters);