jeco.dmm.sim2.util
Class ProfilingReport
java.lang.Object
java.lang.Thread
jeco.dmm.sim2.util.ProfilingReport
- All Implemented Interfaces:
- java.lang.Runnable
public class ProfilingReport
- extends java.lang.Thread
- Author:
- jlrisco
Nested classes/interfaces inherited from class java.lang.Thread |
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler |
Fields inherited from class java.lang.Thread |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Methods inherited from class java.lang.Thread |
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
MALLOC
public static final java.lang.String MALLOC
- See Also:
- Constant Field Values
FREE
public static final java.lang.String FREE
- See Also:
- Constant Field Values
READ
public static final java.lang.String READ
- See Also:
- Constant Field Values
WRITE
public static final java.lang.String WRITE
- See Also:
- Constant Field Values
pathToProfile
protected java.lang.String pathToProfile
size
protected long size
sizeErrors
protected long sizeErrors
objectIdErrors
protected long objectIdErrors
mallocs
protected long mallocs
totalMemory
protected long totalMemory
maxMemoryInUse
protected long maxMemoryInUse
frees
protected long frees
freeIdErrors
protected long freeIdErrors
mallocsAfterFrees
protected long mallocsAfterFrees
reads
protected long reads
writes
protected long writes
minSizeInB
protected long minSizeInB
maxSizeInB
protected long maxSizeInB
sizesInB
protected java.util.TreeSet<java.lang.Long> sizesInB
sizeUsage
protected java.util.TreeMap<java.lang.Long,java.lang.Long> sizeUsage
stopped
protected boolean stopped
ProfilingReport
public ProfilingReport(java.lang.String pathToProfile)
getPathToProfile
public java.lang.String getPathToProfile()
getSize
public long getSize()
getMaxMemoryInUse
public long getMaxMemoryInUse()
getMinSizeInB
public long getMinSizeInB()
getMaxSizeInB
public long getMaxSizeInB()
getSizesInB
public java.util.TreeSet<java.lang.Long> getSizesInB()
isStopped
public boolean isStopped()
load
public void load()
throws java.io.FileNotFoundException,
java.io.IOException
- Throws:
java.io.FileNotFoundException
java.io.IOException
run
public void run()
- Specified by:
run
in interface java.lang.Runnable
- Overrides:
run
in class java.lang.Thread
stopReading
public void stopReading()
computeSizeUsageAvg
public double computeSizeUsageAvg()
computeSizeUsageStd
public double computeSizeUsageStd()