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
more VM functions inlining (plus, getters don't need to be a simcall)
[simgrid.git]
/
src
/
msg
/
msg_vm.cpp
diff --git
a/src/msg/msg_vm.cpp
b/src/msg/msg_vm.cpp
index
77b9855
..
35efaa7
100644
(file)
--- a/
src/msg/msg_vm.cpp
+++ b/
src/msg/msg_vm.cpp
@@
-52,7
+52,7
@@
void MSG_vm_get_params(msg_vm_t vm, vm_params_t params)
/* **** Check state of a VM **** */
static inline int __MSG_vm_is_state(msg_vm_t vm, e_surf_vm_state_t state)
{
/* **** Check state of a VM **** */
static inline int __MSG_vm_is_state(msg_vm_t vm, e_surf_vm_state_t state)
{
- return s
imcall_vm_get_state(vm
) == state;
+ return s
tatic_cast<simgrid::s4u::VirtualMachine*>(vm)->pimpl_vm_->getState(
) == state;
}
/** @brief Returns whether the given VM has just created, not running.
}
/** @brief Returns whether the given VM has just created, not running.