public DebuggerTimer(DebuggerStatistics stats, string name) { stopwatch = Stopwatch.StartNew(); this.stats = stats; if (stats != null && traceListener != null) { traceId = Interlocked.Increment(ref traceSeq); traceListener.TraceEvent(null, stats.Name, TraceEventType.Start, traceId, name); } }
public DebuggerTimer(DebuggerStatistics stats) { stopwatch = new Stopwatch(); this.stats = stats; }