use the new way of declaring the periodicity of state_file and avail_file And remove a test that is hard to work with, soon replaced with something better. And revalidate the tesh output of tests that are hard to diagnose and improve
obey our naming conventions
code simplification: we don't use non-LMM resources there was a specific constructor for non-LMM resources that was not given the lmm constraint, which leaded to many dupplicated code. But actually, this is not needed: NetworkConstant does not create a link resource anyway, and NS3 can easily pass nullptr to the constructor of its ancestor.
bug smell indent
[TESHSUITE] 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
Make some constructors explicit
we did not really need cm02 here, did we? (it breaks centos)
make surf tesh test something
sanitize surf API: s/updateState/apply_event/
sanitize the surf API updateState() and friends don't need to have the current date passed as an parameter: they can use surf_get_time() on the rare cases where they need it. This makes the surf_solve loop rather ugly as the code is not ready to jump to the right time to handle events yet. Will soon be fixed.
mark as override a method that does
[trace_mgr] less void*, (some) more doc
kill an unused parameter in the trace_mgr
objectifies the Future Event Set of trace events That's a rather mechanical change so far, and more cleanups is needed.
Compile trace_mgr with g++. Next step: objectification