Please refer to following publication for more details:
- Saurabh Kumar Garg and Rajkumar Buyya, NetworkCloudSim: Modelling Parallel Applications in Cloud Simulations, Proceedings of the 4th IEEE/ACM International Conference on Utility and Cloud Computing (UCC 2011, IEEE CS Press, USA), Melbourne, Australia, December 5-7, 2011.
Author: Saurabh Kumar Garg, Manoel Campos da Silva Filho
addPacket(Cloudlet destinationCloudlet, long bytes)¶
Creates and adds a packet to the list of packets to be sent to a
Cloudletthat is inside a specific VM.
- destinationCloudlet – destination cloudlet to send packets to
- bytes – the number of data bytes of the packet to create
the created packet
Gets the list of packets to send, updating the send time to the given time and clearing the list of packets, marking the task as finished.
- sendTime – the send time to update all packets in the list
the packet list with the send time updated to the given time