|
################################################################## EnvInfo v1.1 Copyright (C) 2009 Frederic Roudaut This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. ################################################################### |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.envInfo.MemoryMeasurement
public class MemoryMeasurement
Class used to represent a single Memory Measurement.
This class is an adaption of the one done by Nicolas Richasse for his
Java Iperf frontend.
Field Summary | |
---|---|
private double |
end
|
private double |
start
|
private java.lang.String |
units
|
private double |
value
|
Constructor Summary | |
---|---|
MemoryMeasurement(double start,
double end,
double value,
java.lang.String units)
Constructor. |
Method Summary | |
---|---|
double |
getEndTime()
Return the end time. |
double |
getStartTime()
Return the start time. |
java.lang.String |
getUnits()
Return the measurement unit. |
double |
getValue()
Return the measurement value. |
void |
print()
Print the measurement content. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private double start
private double end
private double value
private java.lang.String units
Constructor Detail |
---|
public MemoryMeasurement(double start, double end, double value, java.lang.String units)
start
- the start time of the measurement.end
- the end time of the measurement.value
- the memory value.units
- the memory Units.Method Detail |
---|
public double getStartTime()
public double getEndTime()
public double getValue()
public java.lang.String getUnits()
public void print()
|
################################################################## EnvInfo v1.1 Copyright (C) 2009 Frederic Roudaut This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. ################################################################### |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |