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
Put set_bound and set_affinity at Cpu level
[simgrid.git]
/
src
/
surf
/
cpu.cpp
diff --git
a/src/surf/cpu.cpp
b/src/surf/cpu.cpp
index
047bcdc
..
4632489
100644
(file)
--- a/
src/surf/cpu.cpp
+++ b/
src/surf/cpu.cpp
@@
-195,10
+195,10
@@
void CpuActionLmm::setBound(double bound)
* action object does not have the information about the location where the
* action is being executed.
*/
* action object does not have the information about the location where the
* action is being executed.
*/
-void CpuActionLmm::setAffinity(Cpu
LmmPtr
cpu, unsigned long mask)
+void CpuActionLmm::setAffinity(Cpu
Ptr _
cpu, unsigned long mask)
{
lmm_variable_t var_obj = p_variable;
{
lmm_variable_t var_obj = p_variable;
-
+ CpuLmmPtr cpu = reinterpret_cast<CpuLmmPtr>(_cpu);
XBT_IN("(%p,%lx)", this, mask);
{
XBT_IN("(%p,%lx)", this, mask);
{