elk-util-parent/elk-util-logging/src/main/java/org/semanticweb/elk/util/logging/ElkTimer.java
public static long stopNamedTimer(String timerName, int todoFlags,
			long threadId) {
		ElkTimer key = new ElkTimer(timerName, todoFlags, threadId);
		if (registeredTimers.containsKey(key)) {
			return registeredTimers.get(key).stop();
		} else {
			return -1;
		}
	}
public static long stopNamedTimer(String timerName, int todoFlags,
			long threadId) {
		ElkTimer key = new ElkTimer(timerName, todoFlags, threadId);
		if (registeredTimers.containsKey(key)) {
			return registeredTimers.get(key).stop();
		} else {
			return -1;
		}
	}
public static long stopNamedTimer ( String timerName , int todoFlags , long threadId ) { ElkTimer key = new ElkTimer ( timerName , todoFlags , threadId ) ; if ( registeredTimers . containsKey ( key ) ) { return registeredTimers . get ( key ) . stop ( ) ; } else { return - 1 ; } }
Stop a timer of the given string name for the given thread. If no such
timer exists, -1 will be returned. Otherwise the return value is the CPU
time that was measured.

@param timerName
the name of the timer
@param todoFlags
@param threadId
of the thread to track, or 0 if only system clock should be
tracked
@return CPU time if timer existed and was running, and -1 otherwise
Stop a timer of the given string name for the given thread . If no such timer exists - 1 will be returned . Otherwise the return value is the CPU time that was measured .