Ejemplo n.º 1
0
 /// <summary>
 /// Logs a method invocation.
 /// </summary>
 /// <param name="time">The time it took the method to run in microseconds.</param>
 public void Log(long time)
 {
     Interlocked.Increment(ref methodCalls);
     DebugMetrics.Accumulate(ref timeInMethod, time);
 }