public class LoggedPerformanceTimer extends PerformanceTimer implements java.io.Closeable
PerformanceTimer.PerformanceSamplename, samples| Constructor and Description |
|---|
LoggedPerformanceTimer(java.lang.String logFileName)
Creates a logged performance timer with the given log file name.
|
LoggedPerformanceTimer(java.lang.String fileName,
java.lang.String timerName)
Creates a logged performance timer with the given log file name and
timer name.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
stop()
Stops the currently-running time interval.
|
getLastResult, getSamples, size, start, stopAndPrint, toStringpublic LoggedPerformanceTimer(java.lang.String logFileName)
throws java.io.FileNotFoundException
java.io.FileNotFoundExceptionpublic LoggedPerformanceTimer(java.lang.String fileName,
java.lang.String timerName)
throws java.io.FileNotFoundException
java.io.FileNotFoundExceptionpublic void stop()
PerformanceTimerstop in class PerformanceTimerpublic void close()
close in interface java.io.Closeableclose in interface java.lang.AutoCloseable