20 references to ActionInfo
Microsoft.CodeAnalysis.Features (20)
Completion\Log\CompletionProvidersLogger.cs (20)
12private static readonly StatisticLogAggregator<ActionInfo> s_statisticLogAggregator = new();
13private static readonly CountLogAggregator<ActionInfo> s_countLogAggregator = new();
15private static readonly HistogramLogAggregator<ActionInfo> s_histogramLogAggregator = new(bucketSize: 50, maxBucketValue: 1000);
40s_histogramLogAggregator.LogTime(ActionInfo.TypeImportCompletionTicks, elapsed);
41s_statisticLogAggregator.AddDataPoint(ActionInfo.TypeImportCompletionTicks, elapsed);
45=> s_statisticLogAggregator.AddDataPoint(ActionInfo.TypeImportCompletionItemCount, count);
48=> s_statisticLogAggregator.AddDataPoint(ActionInfo.TypeImportCompletionReferenceCount, count);
51=> s_countLogAggregator.IncreaseCount(ActionInfo.TypeImportCompletionCacheMissCount);
54=> s_countLogAggregator.IncreaseCount(ActionInfo.CommitsOfTypeImportCompletionItem);
58s_histogramLogAggregator.LogTime(ActionInfo.ExtensionMethodCompletionTicks, total);
59s_statisticLogAggregator.AddDataPoint(ActionInfo.ExtensionMethodCompletionTicks, total);
63s_statisticLogAggregator.AddDataPoint(ActionInfo.ExtensionMethodCompletionRemoteAssetSyncTicks, remoteAssetSync.Value);
64s_statisticLogAggregator.AddDataPoint(ActionInfo.ExtensionMethodCompletionRemoteTicks, total - remoteAssetSync.Value - getSymbols - createItems);
67s_statisticLogAggregator.AddDataPoint(ActionInfo.ExtensionMethodCompletionGetSymbolsTicks, getSymbols);
68s_statisticLogAggregator.AddDataPoint(ActionInfo.ExtensionMethodCompletionCreateItemsTicks, createItems);
72=> s_statisticLogAggregator.AddDataPoint(ActionInfo.ExtensionMethodCompletionMethodsProvided, count);
75=> s_countLogAggregator.IncreaseCount(ActionInfo.CommitsOfExtensionMethodImportCompletionItem);
78=> s_countLogAggregator.IncreaseCount(ActionInfo.ExtensionMethodCompletionPartialResultCount);
81=> s_countLogAggregator.IncreaseCount(ActionInfo.CommitUsingSemicolonToAddParenthesis);
84=> s_countLogAggregator.IncreaseCount(ActionInfo.CommitUsingDotToAddParenthesis);