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 around Host::onDestruction
[simgrid.git]
/
src
/
surf
/
cpu_interface.cpp
diff --git
a/src/surf/cpu_interface.cpp
b/src/surf/cpu_interface.cpp
index
772e86a
..
ea7f63e
100644
(file)
--- a/
src/surf/cpu_interface.cpp
+++ b/
src/surf/cpu_interface.cpp
@@
-189,14
+189,8
@@
Cpu::Cpu(Model *model, const char *name,
: Cpu(model, name, core, speedPeak, speedScale, SURF_RESOURCE_ON)
{}
-void Cpu::onDie()
-{
- Resource::onDie();
-}
-
Cpu::~Cpu()
{
- this->die();
if (p_constraintCoreId){
for (int i = 0; i < m_core; i++) {
xbt_free(p_constraintCoreId[i]);