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
Move the signals from simgrid::surf::Host to simgrid::Host
[simgrid.git]
/
src
/
surf
/
sg_platf.cpp
diff --git
a/src/surf/sg_platf.cpp
b/src/surf/sg_platf.cpp
index
9cc96bd
..
1fb5d32
100644
(file)
--- a/
src/surf/sg_platf.cpp
+++ b/
src/surf/sg_platf.cpp
@@
-71,6
+71,8
@@
void sg_platf_new_host(sg_platf_host_cbarg_t host)
host->initiallyOn,
host->state_trace);
surf_host_model->createHost(host->id, net, cpu, host->properties)->attach(h);
+ simgrid::Host::onCreation(*h);
+
if (TRACE_is_enabled() && TRACE_needs_platform())
sg_instr_new_host(host);
}