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