Class HostResourceStats
Computes resource utilization statistics for a specific resource on a given
Host.- Since:
- CloudSim Plus 6.1.0
- Author:
- Manoel Campos da Silva Filho
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanadd(double time) Collects the current resource utilization percentage (in scale from 0 to 1) for the given time to the statistics.Methods inherited from class org.cloudsimplus.vms.ResourceStats
count, getMachine, getMax, getMean, getMin, getPreviousTime, getStandardDeviation, getVariance, isElapsedTimeSmall, isEmpty, isNotEntireSecondElapsed, isNotTimeToAddHistory
-
Field Details
-
NULL
-
-
Constructor Details
-
Method Details
-
add
public boolean add(double time) Collects the current resource utilization percentage (in scale from 0 to 1) for the given time to the statistics.. The method is automatically called when theHostprocessing is updated.- Overrides:
addin classResourceStats<Host>- Parameters:
time- current simulation time (in seconds)- Returns:
- true if data was collected, false otherwise (meaning it's not time to collect data).
-