3 instantiations of TaskExecutionStats
Microsoft.Build.Framework (3)
Telemetry\TaskExecutionStats.cs (1)
27
=>
new
();
Telemetry\WorkerNodeTelemetryData.cs (1)
35
taskExecutionStats =
new
(cumulativeExecutionTime, executionsCount, totalMemoryConsumption, factoryName, taskHostRuntime);
Telemetry\WorkerNodeTelemetryEventArgs.cs (1)
58
new
TaskExecutionStats
(
21 references to TaskExecutionStats
Microsoft.Build.Framework (21)
Telemetry\IWorkerNodeTelemetryData.cs (1)
10
Dictionary<TaskOrTargetTelemetryKey,
TaskExecutionStats
> TasksExecutionData { get; }
Telemetry\TaskExecutionStats.cs (5)
23
/// Creates an instance of <see cref="
TaskExecutionStats
"/> initialized to zero values.
26
internal static
TaskExecutionStats
CreateEmpty()
61
internal void Accumulate(
TaskExecutionStats
other)
73
if (obj is
TaskExecutionStats
other)
80
protected bool Equals(
TaskExecutionStats
other)
Telemetry\TelemetryDataUtils.cs (10)
90
Dictionary<TaskOrTargetTelemetryKey,
TaskExecutionStats
> tasksDetails)
94
foreach (KeyValuePair<TaskOrTargetTelemetryKey,
TaskExecutionStats
> valuePair in tasksDetails)
210
static TaskCategoryStats? CreateTaskStats(
TaskExecutionStats
total,
TaskExecutionStats
fromNuget)
301
public void Process(Dictionary<TaskOrTargetTelemetryKey,
TaskExecutionStats
> tasksExecutionData)
303
foreach (KeyValuePair<TaskOrTargetTelemetryKey,
TaskExecutionStats
> kv in tasksExecutionData)
317
public
TaskExecutionStats
Total { get; } =
TaskExecutionStats
.CreateEmpty();
319
public
TaskExecutionStats
FromNuget { get; } =
TaskExecutionStats
.CreateEmpty();
Telemetry\WorkerNodeTelemetryData.cs (3)
11
public WorkerNodeTelemetryData(Dictionary<TaskOrTargetTelemetryKey,
TaskExecutionStats
> tasksExecutionData, Dictionary<TaskOrTargetTelemetryKey, TargetExecutionStats> targetsExecutionData)
32
TaskExecutionStats
? taskExecutionStats;
74
public Dictionary<TaskOrTargetTelemetryKey,
TaskExecutionStats
> TasksExecutionData { get; }
Telemetry\WorkerNodeTelemetryEventArgs.cs (2)
24
foreach (KeyValuePair<TaskOrTargetTelemetryKey,
TaskExecutionStats
> entry in WorkerNodeTelemetryData.TasksExecutionData)
46
Dictionary<TaskOrTargetTelemetryKey,
TaskExecutionStats
> tasksExecutionData = new();