public class StatisticMethod extends Statistic
| Constructor and Description |
|---|
StatisticMethod(Method method) |
StatisticMethod(String threadName,
Method method) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(Method caller,
long time,
long nestTime,
long nestCall) |
StringBuilder |
exportCSV(StringBuilder result) |
StringBuilder |
exportJSON(StringBuilder result) |
StringBuilder |
exportText(StringBuilder result) |
String |
formatValue(long value)
You can change implementation of this method in children class
(ex: convert to second for time, or 'Mo' for memory)
|
add, getCall, getMax, getMean, getMin, getName, getSlopeOfLinearRegression, getStandardDeviation, getTotalpublic StatisticMethod(Method method)
public void add(Method caller, long time, long nestTime, long nestCall)
caller - time - time spent in this method in nonasecondnestTime - nestCall - public String formatValue(long value)
StatisticformatValue in class Statisticpublic StringBuilder exportCSV(StringBuilder result)
public StringBuilder exportJSON(StringBuilder result)
exportJSON in class Statisticpublic StringBuilder exportText(StringBuilder result)
exportText in class StatisticCopyright © 2004–2014 CodeLutin. All rights reserved.