/**
  * Stops timing the occurrence of this event that was started by the previous call to <code>
  * startRun</code>. The event is automatically added to the cumulative counters for this event and
  * listeners are notified.
  *
  * <p>Note that this facility guards itself against runs that start but fail to stop, so it is not
  * necessary to call this method from a finally block. Tracking performance of failure cases is
  * generally not of interest.
  *
  * @see #startRun()
  */
 public void endRun() {
   if (!ENABLED || currentStart == NOT_STARTED) return;
   addRun(System.currentTimeMillis() - currentStart, context);
   currentStart = NOT_STARTED;
 }