1 instantiation of SharedStopwatch
Microsoft.CodeAnalysis.Workspaces (1)
src\roslyn\src\Compilers\Core\Portable\InternalUtilities\SharedStopwatch.cs (1)
42=> new SharedStopwatch(s_stopwatch.Elapsed);
35 references to SharedStopwatch
Microsoft.CodeAnalysis.Features (27)
Completion\Providers\ImportCompletionProvider\AbstractExtensionMethodImportCompletionProvider.cs (2)
53var totalTime = SharedStopwatch.StartNew();
Completion\Providers\ImportCompletionProvider\AbstractTypeImportCompletionProvider.cs (2)
164private readonly SharedStopwatch _elapsedTime; 172_elapsedTime = SharedStopwatch.StartNew();
Copilot\ICopilotChangeAnalysisService.cs (14)
85var totalAnalysisTimeStopWatch = SharedStopwatch.StartNew(); 87var forkingTimeStopWatch = SharedStopwatch.StartNew(); 104var totalDiagnosticComputationTimeStopWatch = SharedStopwatch.StartNew(); 174var computationTime = SharedStopwatch.StartNew(); 239var totalComputationStopWatch = SharedStopwatch.StartNew(); 251var totalApplicationTimeStopWatch = SharedStopwatch.StartNew(); 259var applicationTimeStopWatch = SharedStopwatch.StartNew();
EditAndContinue\AbstractEditAndContinueAnalyzer.cs (2)
525var analysisStopwatch = SharedStopwatch.StartNew();
EditAndContinue\EditSession.cs (2)
1437var emitDifferenceTimer = SharedStopwatch.StartNew();
ExternalAccess\UnitTesting\SolutionCrawler\UnitTestingIdleProcessor.cs (3)
32private SharedStopwatch _timeSinceLastAccess = SharedStopwatch.StartNew(); 56=> _timeSinceLastAccess = SharedStopwatch.StartNew();
MetadataAsSource\DecompilationMetadataAsSourceFileProvider.cs (2)
161var stopwatch = SharedStopwatch.StartNew();
Microsoft.CodeAnalysis.Workspaces (8)
Classification\SyntaxClassification\SyntacticChangeRangeComputer.cs (2)
46var stopwatch = SharedStopwatch.StartNew();
Log\RoslynTelemetry.Workspaces.cs (2)
43private readonly SharedStopwatch _stopwatch = SharedStopwatch.StartNew();
src\roslyn\src\Compilers\Core\Portable\InternalUtilities\SharedStopwatch.cs (2)
25public static SharedStopwatch StartNew() 41private static SharedStopwatch StartNewCore()
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Log\RoslynTelemetry_Metrics.cs (2)
160private readonly SharedStopwatch _stopwatch = SharedStopwatch.StartNew();