public TaskPerformanceRecord(string taskName, LatencyDetectionContextFactory latencyDetectionContextFactory, ExEventLog.EventTuple startTuple, ExEventLog.EventTuple endTuple, ExEventLog eventLog) { this.TaskName = taskName; this.latencyDetectionContextFactory = latencyDetectionContextFactory; this.startTuple = startTuple; this.endTuple = endTuple; this.eventLog = eventLog; this.correlationId = TaskPerformanceRecord.NextCorrelationId.ToString(); }
public static LatencyDetectionContextFactory CreateFactory(string identity) { return(LatencyDetectionContextFactory.CreateFactory(identity, LatencyReportingThreshold.MinimumThresholdValue, TimeSpan.MaxValue)); }
public TaskPerformanceRecord(string taskName, LatencyDetectionContextFactory latencyDetectionContextFactory, ExEventLog.EventTuple startTuple, ExEventLog.EventTuple endTuple, ExEventLog eventLog, params IPerformanceDataProvider[] performanceDataProviders) : this(taskName, latencyDetectionContextFactory, startTuple, endTuple, eventLog) { this.Start(performanceDataProviders); }