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
rename simix::kernelImmediate into simix::simcall
[simgrid.git]
/
src
/
s4u
/
s4u_Exec.cpp
diff --git
a/src/s4u/s4u_Exec.cpp
b/src/s4u/s4u_Exec.cpp
index
41ffe89
..
607e50e
100644
(file)
--- a/
src/s4u/s4u_Exec.cpp
+++ b/
src/s4u/s4u_Exec.cpp
@@
-99,7
+99,7
@@
Host* Exec::get_host()
/** @brief Returns the amount of flops that remain to be done */
double Exec::get_remaining()
{
/** @brief Returns the amount of flops that remain to be done */
double Exec::get_remaining()
{
- return simgrid::simix::
kernelImmediate
(
+ return simgrid::simix::
simcall
(
[this]() { return boost::static_pointer_cast<simgrid::kernel::activity::ExecImpl>(pimpl_)->get_remaining(); });
}
[this]() { return boost::static_pointer_cast<simgrid::kernel::activity::ExecImpl>(pimpl_)->get_remaining(); });
}
@@
-109,7
+109,7
@@
double Exec::get_remaining()
*/
double Exec::get_remaining_ratio()
{
*/
double Exec::get_remaining_ratio()
{
- return simgrid::simix::
kernelImmediate
([this]() {
+ return simgrid::simix::
simcall
([this]() {
return boost::static_pointer_cast<simgrid::kernel::activity::ExecImpl>(pimpl_)->get_remaining_ratio();
});
}
return boost::static_pointer_cast<simgrid::kernel::activity::ExecImpl>(pimpl_)->get_remaining_ratio();
});
}