/** * Registers the final duration of a stopped timer with the RequestLog. * * @param stoppedPhase The phase that has been stopped, and whose duration needs to be stored */ public static void registerTime(TimedPhase stoppedPhase) { RequestLog.REGISTRY.timer(stoppedPhase.getName()).update(stoppedPhase.getDuration(), stoppedPhase.getUnit()); }