com.commsen.stopwatch.reports
Class MemoryStopwatchReport
java.lang.Object
com.commsen.stopwatch.reports.DefaultStopwatchReport
com.commsen.stopwatch.reports.MemoryStopwatchReport
- All Implemented Interfaces:
- Report, java.io.Serializable, java.lang.Comparable
public class MemoryStopwatchReport
- extends DefaultStopwatchReport
This report contains additional memory usage statistics. It is used by
MemoryStopwatchEngine
;
- Author:
- Milen Dyankov
- See Also:
- Serialized Form
Constructor Summary |
MemoryStopwatchReport(java.lang.String group,
java.lang.String name,
long count,
double fastest,
double slowest,
double average,
double total,
long minMemory,
long maxMemory,
long averageMemory)
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
MemoryStopwatchReport
public MemoryStopwatchReport(java.lang.String group,
java.lang.String name,
long count,
double fastest,
double slowest,
double average,
double total,
long minMemory,
long maxMemory,
long averageMemory)
- Parameters:
group
- name
- count
- fastest
- slowest
- average
- total
- minMemory
- maxMemory
- averageMemory
-
toString
public java.lang.String toString()
- Generates string representation of this report
- Overrides:
toString
in class DefaultStopwatchReport
- See Also:
Object.toString()
getAverageMemory
public long getAverageMemory()
- Returns:
- Returns the averageMemory.
getMaxMemory
public long getMaxMemory()
- Returns:
- Returns the maxMemory.
getMinMemory
public long getMinMemory()
- Returns:
- Returns the minMemory.
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class DefaultStopwatchReport
hashCode
public int hashCode()
- Overrides:
hashCode
in class DefaultStopwatchReport
Copyright © 2006-2008 Commsen International. All Rights Reserved.