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
Deprecate the is_off() methods.
[simgrid.git]
/
src
/
surf
/
storage_n11.cpp
diff --git
a/src/surf/storage_n11.cpp
b/src/surf/storage_n11.cpp
index
31693c9
..
2b12036
100644
(file)
--- a/
src/surf/storage_n11.cpp
+++ b/
src/surf/storage_n11.cpp
@@
-101,17
+101,17
@@
StorageN11::StorageN11(StorageModel* model, std::string name, kernel::lmm::Syste
StorageAction* StorageN11::io_start(sg_size_t size, s4u::Io::OpType type)
{
StorageAction* StorageN11::io_start(sg_size_t size, s4u::Io::OpType type)
{
- return new StorageN11Action(get_model(), size,
is_off
(), this, type);
+ return new StorageN11Action(get_model(), size,
not is_on
(), this, type);
}
StorageAction* StorageN11::read(sg_size_t size)
{
}
StorageAction* StorageN11::read(sg_size_t size)
{
- return new StorageN11Action(get_model(), size,
is_off
(), this, s4u::Io::OpType::READ);
+ return new StorageN11Action(get_model(), size,
not is_on
(), this, s4u::Io::OpType::READ);
}
StorageAction* StorageN11::write(sg_size_t size)
{
}
StorageAction* StorageN11::write(sg_size_t size)
{
- return new StorageN11Action(get_model(), size,
is_off
(), this, s4u::Io::OpType::WRITE);
+ return new StorageN11Action(get_model(), size,
not is_on
(), this, s4u::Io::OpType::WRITE);
}
/**********
}
/**********