public static class CallAnalyse.CallStatistics extends Object implements Cloneable
Modifier and Type | Field and Description |
---|---|
protected long |
calls |
protected long |
maxMemory |
protected long |
maxTime |
protected org.apache.commons.collections.primitives.ArrayLongList |
memories |
protected long |
minMemory |
protected long |
minTime |
protected String |
name |
protected Runtime |
runtime |
protected long |
sumMemory |
protected long |
sumTime |
protected org.apache.commons.collections.primitives.ArrayLongList |
times
pile contenant le temps de appel, util pour les appels recursifs
|
Constructor and Description |
---|
CallStatistics(String name) |
Modifier and Type | Method and Description |
---|---|
void |
enter() |
void |
exit() |
long |
getAvgMemory() |
long |
getAvgTime() |
long |
getCalls() |
long |
getMaxMemory() |
long |
getMaxTime() |
protected long |
getMemory() |
long |
getMinMemory() |
long |
getMinTime() |
String |
getName() |
long |
getSumMemory() |
long |
getSumTime() |
String |
toString() |
protected String name
protected long calls
protected long minTime
protected long maxTime
protected long sumTime
protected long minMemory
protected long maxMemory
protected long sumMemory
protected org.apache.commons.collections.primitives.ArrayLongList times
protected org.apache.commons.collections.primitives.ArrayLongList memories
protected Runtime runtime
public CallStatistics(String name)
public void enter()
public void exit()
public String getName()
public long getCalls()
public long getMinTime()
public long getMaxTime()
public long getSumTime()
public long getAvgTime()
public long getMinMemory()
public long getMaxMemory()
public long getSumMemory()
public long getAvgMemory()
protected long getMemory()
Copyright © 2004–2020 CodeLutin. All rights reserved.