elk-util-parent/elk-util-logging/src/main/java/org/semanticweb/elk/util/logging/ElkTimer.java
public static ElkTimer getNamedTimer(String timerName, int todoFlags,
			long threadId) {
		ElkTimer key = new ElkTimer(timerName, todoFlags, threadId);
		ElkTimer previous = registeredTimers.putIfAbsent(key, key);
		if (previous != null) {
			return previous;
		}
		// else
		return key;
	}
public static ElkTimer getNamedTimer(String timerName, int todoFlags,
			long threadId) {
		ElkTimer key = new ElkTimer(timerName, todoFlags, threadId);
		ElkTimer previous = registeredTimers.putIfAbsent(key, key);
		if (previous != null) {
			return previous;
		}
		// else
		return key;
	}
public static ElkTimer getNamedTimer ( String timerName , int todoFlags , long threadId ) { ElkTimer key = new ElkTimer ( timerName , todoFlags , threadId ) ; ElkTimer previous = registeredTimers . putIfAbsent ( key , key ) ; if ( previous != null ) { return previous ; } // else return key ; }
Get a timer of the given string name for the given thread. If no such
timer exists yet, then it will be newly created.

@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 timer
Get a timer of the given string name for the given thread . If no such timer exists yet then it will be newly created .