Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
sanitize the surf API
authorMartin Quinson <martin.quinson@loria.fr>
Sun, 7 Feb 2016 22:27:36 +0000 (23:27 +0100)
committerMartin Quinson <martin.quinson@loria.fr>
Sun, 7 Feb 2016 22:27:39 +0000 (23:27 +0100)
commitd2782917c11aa6d946e6f21189d6e653114b9295
tree1bdb3890a7b1e0448880c8b6da75aa93c2a39659
parentce3bec73b984f5d517033220533448d4bbb6d809
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.
17 files changed:
src/surf/cpu_cas01.cpp
src/surf/cpu_cas01.hpp
src/surf/cpu_ti.cpp
src/surf/cpu_ti.hpp
src/surf/host_interface.hpp
src/surf/host_ptask_L07.cpp
src/surf/host_ptask_L07.hpp
src/surf/network_cm02.cpp
src/surf/network_cm02.hpp
src/surf/network_interface.hpp
src/surf/network_ns3.cpp
src/surf/network_ns3.hpp
src/surf/storage_interface.cpp
src/surf/storage_interface.hpp
src/surf/surf_c_bindings.cpp
src/surf/surf_interface.hpp
teshsuite/surf/trace_usage/trace_usage.cpp