/** * Gets the current requested ram. * * @return the current requested ram */ public int getCurrentRequestedRam() { if (isBeingInstantiated()) { return getRam(); } return (int) (getCloudletScheduler().getCurrentRequestedUtilizationOfRam() * getRam()); }