| Constructor and Description |
|---|
MultiLoopsStatistics(long startTimeInMillis,
long endTimeInMillis,
long startTimeInNano,
long endTimeInNano,
int threadNum)
Instantiates a new multi loops statistics.
|
MultiLoopsStatistics(long startTimeInMillis,
long endTimeInMillis,
long startTimeInNano,
long endTimeInNano,
int threadNum,
List<com.landawn.abacus.util.Profiler.LoopStatistics> loopStatisticsList)
Instantiates a new multi loops statistics.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addMethodStatisticsList(com.landawn.abacus.util.Profiler.LoopStatistics loopStatistics)
Adds the method statistics list.
|
List<com.landawn.abacus.util.Profiler.MethodStatistics> |
getAllFailedMethodStatisticsList()
Gets the all failed method statistics list.
|
double |
getElapsedTimeInMillis()
Gets the elapsed time in millis.
|
double |
getElapsedTimeInMillis()
Gets the elapsed time in millis.
|
long |
getEndTimeInMillis()
Gets the end time in millis.
|
long |
getEndTimeInMillis()
Gets the end time in millis.
|
long |
getEndTimeInNano()
Gets the end time in nano.
|
long |
getEndTimeInNano()
Gets the end time in nano.
|
List<com.landawn.abacus.util.Profiler.MethodStatistics> |
getFailedMethodStatisticsList(String methodName)
Gets the failed method statistics list.
|
List<com.landawn.abacus.util.Profiler.LoopStatistics> |
getLoopStatisticsList()
Gets the loop statistics list.
|
com.landawn.abacus.util.Profiler.MethodStatistics |
getMaxElapsedTimeMethod()
Gets the max elapsed time method.
|
double |
getMethodAverageElapsedTimeInMillis(String methodName)
Gets the method average elapsed time in millis.
|
double |
getMethodMaxElapsedTimeInMillis(String methodName)
Gets the method max elapsed time in millis.
|
double |
getMethodMinElapsedTimeInMillis(String methodName)
Gets the method min elapsed time in millis.
|
List<String> |
getMethodNameList()
Gets the method name list.
|
int |
getMethodSize(String methodName)
Gets the method size.
|
List<com.landawn.abacus.util.Profiler.MethodStatistics> |
getMethodStatisticsList(String methodName)
Gets the method statistics list.
|
double |
getMethodTotalElapsedTimeInMillis(String methodName)
Gets the method total elapsed time in millis.
|
com.landawn.abacus.util.Profiler.MethodStatistics |
getMinElapsedTimeMethod()
Gets the min elapsed time method.
|
Object |
getResult()
Gets the result.
|
Object |
getResult()
Gets the result.
|
long |
getStartTimeInMillis()
Gets the start time in millis.
|
long |
getStartTimeInMillis()
Gets the start time in millis.
|
long |
getStartTimeInNano()
Gets the start time in nano.
|
long |
getStartTimeInNano()
Gets the start time in nano.
|
int |
getThreadNum()
Gets the thread num.
|
double |
getTotalElapsedTimeInMillis()
Gets the total elapsed time in millis.
|
void |
printResult()
Prints the result.
|
void |
setEndTimeInMillis(long endTimeInMillis)
Sets the end time in millis.
|
void |
setEndTimeInMillis(long endTimeInMillis)
Sets the end time in millis.
|
void |
setEndTimeInNano(long endTimeInNano)
Sets the end time in nano.
|
void |
setEndTimeInNano(long endTimeInNano)
Sets the end time in nano.
|
void |
setLoopStatisticsList(List<com.landawn.abacus.util.Profiler.LoopStatistics> loopStatisticsList)
Sets the loop statistics list.
|
void |
setResult(Object result)
Sets the result.
|
void |
setResult(Object result)
Sets the result.
|
void |
setStartTimeInMillis(long startTimeInMillis)
Sets the start time in millis.
|
void |
setStartTimeInMillis(long startTimeInMillis)
Sets the start time in millis.
|
void |
setStartTimeInNano(long startTimeInNano)
Sets the start time in nano.
|
void |
setStartTimeInNano(long startTimeInNano)
Sets the start time in nano.
|
void |
writeHtmlResult(OutputStream os)
Write html result.
|
void |
writeHtmlResult(Writer writer)
Write html result.
|
void |
writeResult(OutputStream os) |
void |
writeResult(Writer writer) |
void |
writeXmlResult(OutputStream os)
Write xml result.
|
void |
writeXmlResult(Writer writer)
Write xml result.
|
public MultiLoopsStatistics(long startTimeInMillis,
long endTimeInMillis,
long startTimeInNano,
long endTimeInNano,
int threadNum)
startTimeInMillis - endTimeInMillis - startTimeInNano - endTimeInNano - threadNum - public MultiLoopsStatistics(long startTimeInMillis,
long endTimeInMillis,
long startTimeInNano,
long endTimeInNano,
int threadNum,
List<com.landawn.abacus.util.Profiler.LoopStatistics> loopStatisticsList)
startTimeInMillis - endTimeInMillis - startTimeInNano - endTimeInNano - threadNum - loopStatisticsList - public int getThreadNum()
public List<com.landawn.abacus.util.Profiler.LoopStatistics> getLoopStatisticsList()
public void setLoopStatisticsList(List<com.landawn.abacus.util.Profiler.LoopStatistics> loopStatisticsList)
loopStatisticsList - the new loop statistics listpublic void addMethodStatisticsList(com.landawn.abacus.util.Profiler.LoopStatistics loopStatistics)
loopStatistics - public com.landawn.abacus.util.Profiler.MethodStatistics getMaxElapsedTimeMethod()
public com.landawn.abacus.util.Profiler.MethodStatistics getMinElapsedTimeMethod()
public double getMethodTotalElapsedTimeInMillis(String methodName)
methodName - public double getMethodMaxElapsedTimeInMillis(String methodName)
methodName - public double getMethodMinElapsedTimeInMillis(String methodName)
methodName - public double getMethodAverageElapsedTimeInMillis(String methodName)
methodName - public double getTotalElapsedTimeInMillis()
public int getMethodSize(String methodName)
methodName - public List<com.landawn.abacus.util.Profiler.MethodStatistics> getMethodStatisticsList(String methodName)
methodName - public List<com.landawn.abacus.util.Profiler.MethodStatistics> getFailedMethodStatisticsList(String methodName)
methodName - public List<com.landawn.abacus.util.Profiler.MethodStatistics> getAllFailedMethodStatisticsList()
public void printResult()
public void writeResult(OutputStream os)
os - public void writeResult(Writer writer)
writer - public void writeHtmlResult(OutputStream os)
os - public void writeHtmlResult(Writer writer)
writer - public void writeXmlResult(OutputStream os)
os - public void writeXmlResult(Writer writer)
writer - public Object getResult()
public void setResult(Object result)
result - the new resultpublic long getStartTimeInMillis()
public void setStartTimeInMillis(long startTimeInMillis)
startTimeInMillis - the new start time in millispublic long getEndTimeInMillis()
public void setEndTimeInMillis(long endTimeInMillis)
endTimeInMillis - the new end time in millispublic long getStartTimeInNano()
public void setStartTimeInNano(long startTimeInNano)
startTimeInNano - the new start time in nanopublic long getEndTimeInNano()
public void setEndTimeInNano(long endTimeInNano)
endTimeInNano - the new end time in nanopublic double getElapsedTimeInMillis()
public long getStartTimeInMillis()
public void setStartTimeInMillis(long startTimeInMillis)
startTimeInMillis - the new start time in millispublic long getEndTimeInMillis()
public void setEndTimeInMillis(long endTimeInMillis)
endTimeInMillis - the new end time in millispublic long getStartTimeInNano()
public void setStartTimeInNano(long startTimeInNano)
startTimeInNano - the new start time in nanopublic long getEndTimeInNano()
public void setEndTimeInNano(long endTimeInNano)
endTimeInNano - the new end time in nanopublic double getElapsedTimeInMillis()
public Object getResult()
public void setResult(Object result)
result - the new resultCopyright © 2021. All rights reserved.