1 instantiation of GeneratorTimingInfo
Microsoft.CodeAnalysis (1)
SourceGeneration\GeneratorDriver.cs (1)
209var generatorTimings = _state.Generators.ZipAsArray(_state.GeneratorStates, (generator, generatorState) => new GeneratorTimingInfo(generator, generatorState.ElapsedTime));
12 references to GeneratorTimingInfo
Microsoft.CodeAnalysis (3)
CommandLine\ReportAnalyzerUtil.cs (1)
137foreach (var timingInfo in generatorGroup.OrderByDescending(x => x.ElapsedTime))
SourceGeneration\RunResults.cs (2)
198internal GeneratorDriverTimingInfo(TimeSpan elapsedTime, ImmutableArray<GeneratorTimingInfo> generatorTimes) 215public ImmutableArray<GeneratorTimingInfo> GeneratorTimes { get; }
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (8)
SourceGeneration\GeneratorDriverTests.cs (6)
3401var generatorTiming = Assert.Single(timing.GeneratorTimes); 3431var generatorTiming = Assert.Single(timing.GeneratorTimes); 3472var timing1 = timing.GeneratorTimes[0]; 3477var timing2 = timing.GeneratorTimes[1]; 3511var generatorTiming = Assert.Single(timing.GeneratorTimes); 3523var generatorTiming2 = Assert.Single(timing2.GeneratorTimes);
SourceGeneration\SyntaxAwareGeneratorTests.cs (2)
2105var timing1 = timing.GeneratorTimes[0]; 2112var timing2 = timing.GeneratorTimes[1];
Microsoft.CodeAnalysis.Workspaces (1)
SourceGeneratorTelemetry\SourceGeneratorTelemetryCollectorWorkspaceService.cs (1)
53foreach (var generatorTime in driverTimingInfo.GeneratorTimes)