20 references to ActionInfo
Microsoft.CodeAnalysis.EditorFeatures (20)
IntelliSense\AsyncCompletion\AsyncCompletionLogger.cs (20)
12
private static readonly CountLogAggregator<
ActionInfo
> s_countLogAggregator = new();
13
private static readonly StatisticLogAggregator<
ActionInfo
> s_statisticLogAggregator = new();
14
private static readonly HistogramLogAggregator<
ActionInfo
> s_histogramLogAggregator = new(25, 500);
46
s_countLogAggregator.IncreaseCount(
ActionInfo
.SessionWithTypeImportCompletionEnabled);
49
s_countLogAggregator.IncreaseCount(
ActionInfo
.SessionWithImportCompletionBlocking);
52
s_countLogAggregator.IncreaseCount(
ActionInfo
.SessionWithImportCompletionDelayed);
56
=> s_countLogAggregator.IncreaseCount(
ActionInfo
.SessionWithDelayedImportCompletionIncludedInUpdate);
59
=> s_histogramLogAggregator.LogTime(
ActionInfo
.AdditionalTicksToCompleteDelayedImportCompletion, timeSpan);
62
=> s_countLogAggregator.IncreaseCount(
ActionInfo
.SessionWithTypeImportCompletionEnabled);
65
=> s_countLogAggregator.IncreaseCount(
ActionInfo
.ExpanderUsageCount);
69
s_statisticLogAggregator.AddDataPoint(
ActionInfo
.SourceInitializationTicks, elapsed);
70
s_histogramLogAggregator.LogTime(
ActionInfo
.SourceInitializationTicks, elapsed);
75
var
key = isCanceled
76
?
ActionInfo
.SourceGetContextCanceledTicks
77
:
ActionInfo
.SourceGetContextCompletedTicks;
85
s_statisticLogAggregator.AddDataPoint(
ActionInfo
.ItemManagerSortTicks, elapsed);
86
s_histogramLogAggregator.LogTime(
ActionInfo
.ItemManagerSortTicks, elapsed);
91
var
key = isCanceled
92
?
ActionInfo
.ItemManagerUpdateCanceledTicks
93
:
ActionInfo
.ItemManagerUpdateCompletedTicks;