internal void RecordCommitted(long duration, bool noChanges,
                               IAsyncCompletionCommitManager manager)
 {
     CommitManagerName = CompletionTelemetryHost.GetCommitManagerName(manager);
     CommitDuration    = duration;
     NoChanges         = noChanges;
 }
Exemple #2
0
 internal static string GetCommitManagerName(IAsyncCompletionCommitManager commitManager) => commitManager?.GetType().ToString() ?? string.Empty;
Exemple #3
0
        internal void RecordObtainingCommitManagerData(IAsyncCompletionCommitManager manager, long elapsedMilliseconds)
        {
            var name = CompletionTelemetryHost.GetCommitManagerName(manager);

            CommitManagerSetupDuration[name] = elapsedMilliseconds;
        }