A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
storage : Allow to write inside a file without reducing its final size (for parallel IO)
[simgrid.git]
/
include
/
simgrid
/
plugins
/
file_system.h
diff --git
a/include/simgrid/plugins/file_system.h
b/include/simgrid/plugins/file_system.h
index
4d6190d
..
961331e
100644
(file)
--- a/
include/simgrid/plugins/file_system.h
+++ b/
include/simgrid/plugins/file_system.h
@@
-102,7
+102,7
@@
public:
sg_size_t read(sg_size_t size);
/** Simulates a write action. Returns the size of data actually written. */
sg_size_t read(sg_size_t size);
/** Simulates a write action. Returns the size of data actually written. */
- sg_size_t write(sg_size_t size);
+ sg_size_t write(sg_size_t size
, int write_inside=0
);
/** Allows to store user data on that host */
void set_userdata(void* data) { userdata_ = data; }
/** Allows to store user data on that host */
void set_userdata(void* data) { userdata_ = data; }