Make cloudsim keep track of running simulations with a single callback
Related tasks
Context
Cloudsim hits 100% cpu usage very easily, this is in part due to being subscribed to the /stats
topic that publishes messages at a constant rate of 30Hz. All the information needed in cloudsim to keep track of simulations is included in the /subt/start
topic.
Change
This MR removes the usage of the ReadWorldStats
callback to avoid subscribing to the /subt/start
topic. Simulation seconds are now being tracked with the Timestamp returned in the /stats
topic.
Other information
Additional documentation
Edited by Marcos Huck