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
code simplification
[simgrid.git]
/
src
/
kernel
/
activity
/
SynchroIo.cpp
diff --git
a/src/kernel/activity/SynchroIo.cpp
b/src/kernel/activity/SynchroIo.cpp
index
65ac052
..
9001cf9
100644
(file)
--- a/
src/kernel/activity/SynchroIo.cpp
+++ b/
src/kernel/activity/SynchroIo.cpp
@@
-23,14
+23,14
@@
void simgrid::kernel::activity::IoImpl::post()
{
for (smx_simcall_t const& simcall : simcalls) {
switch (simcall->call) {
-
case SIMCALL_FIL
E_WRITE:
-
simcall_fil
e_write__set__result(simcall, surf_io->getCost());
- break;
-
case SIMCALL_FIL
E_READ:
-
simcall_fil
e_read__set__result(simcall, surf_io->getCost());
- break;
- default:
- break;
+
case SIMCALL_STORAG
E_WRITE:
+
simcall_storag
e_write__set__result(simcall, surf_io->getCost());
+
break;
+
case SIMCALL_STORAG
E_READ:
+
simcall_storag
e_read__set__result(simcall, surf_io->getCost());
+
break;
+
default:
+
break;
}
}