protected void TracePerf(OpTimePair timing, int?labelPad = null) { if (TraceEnabled) { TracePerf(timing.Format(labelPad)); } }
/// <summary> /// Collects operation pair timing /// </summary> /// <param name="time">The time to collect</param> /// <param name="labelPad">For tracing, the width of the timing label</param> protected void Collect(OpTimePair time, int?labelPad = null) { Enqueue(time.Left, time.Right); if (TraceEnabled) { TracePerf(time.Format(labelPad)); } }