get rid of sd_workstation.cpp fix sg_host_route_bandwidth function
try to speed up some some traversals
Convert routing_platf->getRouteAndLatency into s4u::Host->routeTo The bad thing is that the public API does not expose the surf::Link type, so there is little you can do about it. For now.
C++ify part of simdag
chase bugs and smells
[SIMDAG] NULL -> nullptr substitution I used the following command: (the '**' means recursion in ZSH) sed -i -e 's/\([^_]\s*\)NULL/\1nullptr/g' src/**/*.cpp We check for the underscore to avoid replacing MPI_*_NULL
cleanups in routing - Make the link field of sg_platf_route_cbarg_t a vector<Link*> instead of a dynar. - This dynar used to contain sometimes links (when computing the RouteAndLatency) and sometimes link names (when parsing). - When parsing, the AS were in charge of checking that the links which names are given exist. Now, the parsing code has to deal with its own mess, to pass the expected Link*. The situation around this data structure is still very messy because: - src and dst are the names while src_gw and dst_gw are the netcards - not all the fields are used in all usages: - src/dst not used in data stored in floyd/dijkstra - gw_* not used when adding a route (only for ASroute) - gw_* not used in the data stored in floyd/dijkstra but in the return value of getRouteAndLatency for these models. Ultimately, this data structure should be limited to the xml world, and proper replacement designed for each situations.
Implem? I meant Impl, as in pimpl. Sorry for the noise
Let's call sg::surf::host a HostImplem
Another C wrapper falls.
I'm psychotic
plug some memleaks in simdag tests
this tentative of storage layer in SD was a bad idea. SimDag is on top of SURF, the existing functions might be enough. Exposing storage in the Simdag world still has to be defined properly
kill another dummy function
further cleaning in this rotten realm
kill dumb function
tidying and cosmetics
SimDag Revolution: SD_workstation becomes sg_host
start to use s4u in simdag internally
more useless code trimmed