public class VmStateHistoryEntry
extends java.lang.Object
| Constructor and Description |
|---|
VmStateHistoryEntry(double time,
double allocatedMips,
double requestedMips,
boolean isInMigration)
Instantiates a new vm mips allocation history entry.
|
| Modifier and Type | Method and Description |
|---|---|
double |
getAllocatedMips()
Gets the allocated mips.
|
double |
getRequestedMips()
Gets the requested mips.
|
double |
getTime()
Gets the time.
|
boolean |
isInMigration()
Checks if is in migration.
|
protected void |
setAllocatedMips(double allocatedMips)
Sets the allocated mips.
|
protected void |
setInMigration(boolean isInMigration)
Sets the in migration.
|
protected void |
setRequestedMips(double requestedMips)
Sets the requested mips.
|
protected void |
setTime(double time)
Sets the time.
|
public VmStateHistoryEntry(double time,
double allocatedMips,
double requestedMips,
boolean isInMigration)
time - the timeallocatedMips - the allocated mipsrequestedMips - the requested mipsisInMigration - the is in migrationprotected void setTime(double time)
time - the new timepublic double getTime()
protected void setAllocatedMips(double allocatedMips)
allocatedMips - the new allocated mipspublic double getAllocatedMips()
protected void setRequestedMips(double requestedMips)
requestedMips - the new requested mipspublic double getRequestedMips()
protected void setInMigration(boolean isInMigration)
isInMigration - the new in migrationpublic boolean isInMigration()