Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
S4U: Implement Storage and File
authorMartin Quinson <martin.quinson@loria.fr>
Thu, 27 Aug 2015 17:42:40 +0000 (19:42 +0200)
committerMartin Quinson <martin.quinson@loria.fr>
Thu, 27 Aug 2015 17:42:44 +0000 (19:42 +0200)
commite03ba5e826a3b2422d4bb300fe3949bed0f71712
tree38eb069ffd01e18d2a7e114d269d1d81ad18660b
parent4cc4f6ccd5edcaa8bce5a42598d00c1b904f5c98
S4U: Implement Storage and File

The interface is maybe a bit improvable, and the implementation
remains as twisted as it was, but at least it's usable from S4U.

Improving the implementation would mean moving the book keeping of
files and sizes out of surf. That could be a task for simix if it's
not at user level, but that's not really for surf. Actually, most of
the file API should be moved elsewhere. But I'm not sure of where.

Improving the interface would mean making explicit the storage on
which I create a file instead of relying on the prefix naming.
15 files changed:
examples/s4u/CMakeLists.txt
examples/s4u/io/.gitignore [new file with mode: 0644]
examples/s4u/io/CMakeLists.txt [new file with mode: 0644]
examples/s4u/io/s4u_io_test.cpp [new file with mode: 0644]
examples/s4u/io/s4u_io_test.tesh [new file with mode: 0644]
include/simgrid/s4u.h
include/simgrid/s4u/file.hpp [new file with mode: 0644]
include/simgrid/s4u/host.hpp
include/simgrid/s4u/storage.hpp [new file with mode: 0644]
src/s4u/s4u_actor.cpp
src/s4u/s4u_file.cpp [new file with mode: 0644]
src/s4u/s4u_host.cpp
src/s4u/s4u_storage.cpp [new file with mode: 0644]
tools/cmake/AddTests.cmake
tools/cmake/DefinePackages.cmake