Package de.kappich.sys.funclib.profile
Class LapStatistic
java.lang.Object
de.kappich.sys.funclib.profile.LapStatistic
public class LapStatistic
extends java.lang.Object
Messung und Ausgabe von Zeit- und Speicherverbrauch.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
LapStatistic.Result
-
Constructor Summary
Constructors Constructor Description LapStatistic()
LapStatistic(int alignNumberColumn, int alignNameColumn, int alignLapTimeColumn, int alignLapMemColumn, int alignTotalMemColumn)
-
Method Summary
Modifier and Type Method Description LapStatistic.Result
getLapResult()
void
printLapResult(java.lang.String title)
void
printLapResultWithGc(java.lang.String title)
java.lang.String
toString(java.lang.String title)
Der Rückgabewert entspricht der Ausgabe der MethodeprintLapResult(String)
.java.lang.String
toStringWithGc(java.lang.String title)
Der Rückgabewert entspricht der Ausgabe der MethodeprintLapResultWithGc(String)
.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
LapStatistic
public LapStatistic() -
LapStatistic
public LapStatistic(int alignNumberColumn, int alignNameColumn, int alignLapTimeColumn, int alignLapMemColumn, int alignTotalMemColumn)
-
-
Method Details
-
getLapResult
-
printLapResult
public void printLapResult(java.lang.String title) -
printLapResultWithGc
public void printLapResultWithGc(java.lang.String title) -
toString
public java.lang.String toString(java.lang.String title)Der Rückgabewert entspricht der Ausgabe der MethodeprintLapResult(String)
.- Parameters:
title
- Titel der Ausgabezeile- Returns:
- Ergebnis der Messung
-
toStringWithGc
public java.lang.String toStringWithGc(java.lang.String title)Der Rückgabewert entspricht der Ausgabe der MethodeprintLapResultWithGc(String)
.- Parameters:
title
- Titel der Ausgabezeile- Returns:
- Ergebnis der Messung
-