/** * Update under allocated mips for cloudlet. * * @param rcl the rgl * @param mips the mips * @todo It is not clear the goal of this method. The related test case * doesn't make it clear too. The method doesn't appear to be used anywhere. */ public void updateUnderAllocatedMipsForCloudlet(ResCloudlet rcl, double mips) { if (getUnderAllocatedMips().containsKey(rcl.getUid())) { mips += getUnderAllocatedMips().get(rcl.getUid()); } getUnderAllocatedMips().put(rcl.getUid(), mips); }