double function ( Vm arg0 ) { double loc0 = 0 ; List < Double > loc1 = getAllocatedMipsForVm ( arg0 ) ; if ( loc1 != null ) { for ( double loc2 : loc1 ) { loc0 += loc2 ; } } return loc0 ; }
gets the total allocated mips for a vm over all the pes . concode_field_sep List<? extends Pe> peList concode_elem_sep double availableMips concode_elem_sep Map<String,List<Double>> mipsMap concode_field_sep List<T> getPeList concode_elem_sep void setAvailableMips concode_elem_sep double getAvailableMips concode_elem_sep List<Double> getAllocatedMipsForVm concode_elem_sep double getMaxAvailableMips concode_elem_sep double getPeCapacity concode_elem_sep Map<String,List<Double>> getMipsMap concode_elem_sep void deallocatePesForAllVms concode_elem_sep boolean allocatePesForVm concode_elem_sep void deallocatePesForVm concode_elem_sep void setMipsMap concode_elem_sep void setPeList