Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Make HostL07 behave more like the regular Host
authorMartin Quinson <martin.quinson@loria.fr>
Wed, 25 Nov 2015 23:57:41 +0000 (00:57 +0100)
committerMartin Quinson <martin.quinson@loria.fr>
Wed, 25 Nov 2015 23:57:41 +0000 (00:57 +0100)
commit7817355e1053db0ad176750462d290516dc993e3
tree5293b76bcc0b72446fa5b6468b68b02ec3cedcac
parent359d050959f2cf3c9a2d8f28f8bbaa3fe91e4f55
Make HostL07 behave more like the regular Host

The methods execute() and sleep() were implemented directly in the
host, and the virtual functions in the cpu were implemented with a
DIE_IMPOSSIBLE.

Instead, HostL07 is dispatching the execute() and sleep() calls that
it gets from the higher layers to its CpuL07, just as any Host.

The goal is to kill HostL07 and just use a regular Host dispatching
*every* call to its CPU and RoutingEdge. Then, Host will be made part
of the public interface (simgrid::Host will offer the interface of
S4U::Host with the content of surf::Host).
src/surf/cpu_interface.hpp
src/surf/host_ptask_L07.cpp
src/surf/host_ptask_L07.hpp