public class SimpleVMBehaviour extends Object
| Constructor and Description |
|---|
SimpleVMBehaviour(double cpuResourceDemand,
double bytesRead,
double bytesWritten)
Creates an instance representation of a simple VM behaviour for a certain interval.
|
| Modifier and Type | Method and Description |
|---|---|
double |
getBytesRead()
The amount of bytes requested to be read in the interval.
|
double |
getBytesWritten()
Get The amount of bytes requested to be written in the interval.
|
double |
getCpuResourceDemand()
The CPU demand issued in the interval.
|
public SimpleVMBehaviour(double cpuResourceDemand,
double bytesRead,
double bytesWritten)
cpuResourceDemand - The CPU demand issued in the interval. The unit is busy CPU cycles.bytesRead - The amount of bytes requested to be read in the interval. Request does not have to be completed within the interval.bytesWritten - The amount of bytes requested to be written in the interval. Request does not have to be completed within the interval.public double getCpuResourceDemand()
public double getBytesRead()
public double getBytesWritten()