Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Rollback a little in programmatic description of disks
authorFrederic Suter <frederic.suter@cc.in2p3.fr>
Mon, 1 Mar 2021 09:24:24 +0000 (10:24 +0100)
committerFrederic Suter <frederic.suter@cc.in2p3.fr>
Mon, 1 Mar 2021 11:27:12 +0000 (12:27 +0100)
commit3ed98d31c172001583f905cfbabaab636651169c
tree0ae1cc3a647eefba311f54eaaa67d561ae98cf5e
parent50c7df514872f832ef270099ca32302a28ff55ff
Rollback a little in programmatic description of disks
- add Required fields (w.r.t. the DTD) to the create_disk method
- leave the setters to enable changes of mind or dynamic stuff between
create and seal (TODO: add a state and some asserts)
- Resources always have a name so add it in the ctor
13 files changed:
examples/cpp/io-disk-raw/s4u-io-disk-raw.cpp
include/simgrid/kernel/resource/Resource.hpp
include/simgrid/s4u/Disk.hpp
include/simgrid/s4u/Host.hpp
src/kernel/resource/DiskImpl.hpp
src/kernel/resource/Resource.cpp
src/kernel/resource/profile/Profile_test.cpp
src/s4u/s4u_Host.cpp
src/surf/cpu_interface.cpp
src/surf/disk_s19.cpp
src/surf/disk_s19.hpp
src/surf/network_interface.cpp
src/surf/sg_platf.cpp