org.apache.commons.monitoring.stopwatches
Interface StopWatch
- All Known Implementing Classes:
- CounterStopWatch
public interface StopWatch
Instrumentation tool to compute resource consumption of some code fragment execution.
StopWatch implementation is supposed not to be thread-safe and to be a one-shot tool. Don't
share it beetween threads, don't try to reuse it.
- Author:
- Nicolas De Loof
getElapsedTime
long getElapsedTime()
stop
StopWatch stop()
Copyright © 2008–2013 The Apache Software Foundation. All rights reserved.