Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
move surf::As to s4u::As
authorMartin Quinson <martin.quinson@loria.fr>
Tue, 1 Mar 2016 23:40:37 +0000 (00:40 +0100)
committerMartin Quinson <martin.quinson@loria.fr>
Tue, 1 Mar 2016 23:40:43 +0000 (00:40 +0100)
commitbe5b1909ae03fa305b6aff11ef16e19de82966b5
tree936d48d30599e4b61da44e89c571ec8013cedb6a
parent9f6cbb176d4301cae36a945dfa57e6b6a9cbafef
move surf::As to s4u::As

- The AS are now usable by the user (retrieve the root AS from s4u::Engine)
- This allows to kill a bunch of C->C++ wrapper functions: surf_AS_*
- SimDag now needs a s4u::Engine, which initializes Simix. But beside
  the initialization cost, this should not harm the simdag performance.

The change is a bit brutal, and some more work will be needed to finish it.

- RoutingPlatf should be properly integrated to the s4u::Engine
- xbt containers should be changed into std:: ones
- we should do one header per class and stop all-in-one headers
- various improvements that I don't clearly see yet

But things are improving and getting a shape, I'm happy.
27 files changed:
include/simgrid/forward.h
include/simgrid/msg.h
include/simgrid/s4u/engine.hpp
src/include/surf/surf.h
src/instr/jedule/jedule_output.cpp
src/instr/jedule/jedule_sd_binding.cpp
src/msg/msg_environment.cpp
src/s4u/s4u_engine.cpp
src/simdag/sd_global.cpp
src/simgrid/sg_config.c
src/simix/smx_context.cpp
src/surf/instr_routing.cpp
src/surf/network_ns3.cpp
src/surf/sg_platf.cpp
src/surf/surf_interface.cpp
src/surf/surf_private.h
src/surf/surf_routing.cpp
src/surf/surf_routing.hpp
src/surf/surf_routing_RoutedGraph.cpp
src/surf/surf_routing_RoutedGraph.hpp
src/surf/surf_routing_cluster.hpp
src/surf/surf_routing_dijkstra.cpp
src/surf/surf_routing_floyd.cpp
src/surf/surf_routing_full.cpp
src/surf/surf_routing_none.hpp
src/surf/xml/platf_private.hpp
tools/cmake/DefinePackages.cmake