/** * Ends the timing of the recent task started by {@link #start(java.lang.String)}. */ public static void end() { final Stopwatch root = STOPWATCH.get(); if (null == root) { return; // Donoting.... } final Stopwatch recent = getRecentRunning(root); if (null == recent) { return; } recent.setEndTime(System.currentTimeMillis()); // Ends timing }
/** * Ends the timing of the recent task started by {@link #start(java.lang.String)}. */ public static void end() { final Stopwatch root = STOPWATCH.get(); if (null == root) { return; // Donoting.... } final Stopwatch recent = getRecentRunning(root); if (null == recent) { return; } recent.setEndTime(System.currentTimeMillis()); // Ends timing }