public static ProfilerRegistry getThreadContextInstance() {
        ProfilerRegistry pr = inheritableThreadLocal.get();
        if (pr == null) {
            pr = new ProfilerRegistry();
            inheritableThreadLocal.set(pr);
        }
        return pr;
    }
A minimalist registry of profilers.

@author Ceki G&uuml;lc&uuml;
slf4j-ext/src/main/java/org/slf4j/profiler/ProfilerRegistry.java