ow can i find the average utilization of a vm when a cloudlet is submitted to it:
i am making changes in submitcloudlets() method in datacenterbroker class
when i use this method to get the currently allocated size:
vm.getCurrentAllocatedSize()
it returns 0.
for other VM related functions i am using:
vm.getBw()
vm.getCurrentAllocatedBw()
vm.getCurrentRequestedBw()
vm.getMips()
vm.getCurrentAllocatedMips()
vm.getCurrentRequestedMips()
vm.getCurrentRequestedTotalMips()
vm.getTotalUtilizationOfCpuMips(currentCPU)
vm.getTotalUtilizationOfCpu(currentCPU)
how can i use these functions to compute average utilization.