Hi Mohammed I am not sure about cloudsim but i think you must have makespan function to check which last VM finish and bring its value ( value of highest execution time among other VMs) . So if you can get the values of execution time for all machines then you can easily compare and get the highest one.