protected void TracePerf(OpTime time, int?labelPad = null) { if (TraceEnabled) { TracePerf(time.Format(labelPad)); } }
/// <summary> /// Collects operation 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(OpTime time, int?labelPad = null) { Enqueue(time); if (TraceEnabled) { TracePerf(time.Format(labelPad)); } }