Home
last modified time | relevance | path

Searched refs:globalStopWatch (Results 1 – 2 of 2) sorted by relevance

/external/slf4j/slf4j-ext/src/main/java/org/slf4j/profiler/
DProfiler.java58 final StopWatch globalStopWatch; field in Profiler
69 this.globalStopWatch = new StopWatch(name); in Profiler()
138 return globalStopWatch.elapsedTime(); in elapsedTime()
143 globalStopWatch.stop(); in stop()
148 return globalStopWatch.status; in getStatus()
159 long totalElapsed = globalStopWatch.elapsedTime(); in sanityCheck()
189 DurationUnit du = Util.selectDurationUnitForDisplay(globalStopWatch); in toString()
199 DurationUnit du = Util.selectDurationUnitForDisplay(globalStopWatch); in log()
223 StopWatch copy = new StopWatch(globalStopWatch); in getCopyOfGlobalStopWatch()
242 buildStopWatchString(buf, du, ELAPSED_TIME, indentation, profiler.globalStopWatch); in buildProfilerString()
[all …]
/external/slf4j/slf4j-ext/src/test/java/org/slf4j/profiler/
DProfilerTest.java43 StopWatch gSW = profiler.globalStopWatch; in testSmoke()
67 StopWatch gSW = profiler.globalStopWatch; in testBasicProfiling()
102 StopWatch gSW = profiler.globalStopWatch; in testNestedProfiling()