Stores resource utilization data for a specific
Author: Anton Beloglazov, Manoel Campos da Silva Filho
Adds a CPU utilization percentage history value related to the current simulation time, to the beginning of the History List. The value is added only if the utilization history .
- time – the current simulation time
Computes the percentage of the CPU the VM is using, relative the Host’s total MIPS CAPACITY. If the capacity is 1000 MIPS and the VM is using 250 MIPS, it’s equivalent to 25% of the Host’s capacity
- time – the time to get the VM CPU utilization
the relative VM CPU usage percent (from 0 to 1)
Disables the history to avoid utilization data to be added to it. That allows to reduce memory usage since no utilization data will be collected.
Gets a read-only CPU utilization percentage history map where each key is the time the utilization was collected and each value is the utilization percentage (between [0 and 1]). There will be at least one entry for each time multiple of the
Datacenter.getSchedulingInterval(). This way, it’s required to set a Datacenter scheduling interval with the desired value.
Gets the maximum number of entries to store in the history.
Gets the utilization Median Absolute Deviation (MAD) in MIPS.
Gets the utilization variance in MIPS.
Returns: the utilization variance in MIPS
Computes the amount of power the VM is using, relative to the total Host’s power consumption (in watt-sec).
- time – the time to get the VM power consumption
the relative VM power consumption in watt-sec