-/*
- * A surf level object will be useless in the upper layer. Returning the
- * dict_elm of the host.
- **/
-sg_host_t VMHL13::getPm()
-{
- // TODO, store pointer to the PM?
- return simgrid::Host::find_host(p_subWs->getName());
-}
-
-/* Adding a task to a VM updates the VCPU task on its physical machine. */
-Action *VMHL13::execute(double size)
-{
- double old_cost = p_action->getCost();
- double new_cost = old_cost + size;
-
- XBT_DEBUG("VM(%s)@PM(%s): update dummy action's cost (%f -> %f)",
- getName(), p_subWs->getName(),
- old_cost, new_cost);
-
- p_action->setCost(new_cost);
-
- return p_cpu->execute(size);
-}
-
-Action *VMHL13::sleep(double duration) {
- return p_cpu->sleep(duration);
-}