Is there any way to find out number of cloudlet on VM in cloudsim?
Asked
Active
Viewed 361 times
1 Answers
1
There's a method getVmId() of Class Cloudlet which gives you the ID of VM on which cloudlet would be scheduled.
cloudlet.getVmId()
Returns: VM Id or -1 if the Cloudlet was not assigned to a VM
By setting counter you can count number of cloudlets running on particular VM.
Chanda Korat
- 2,453
- 2
- 19
- 23
-
Thank you very much – ly0905 Nov 03 '17 at 14:39