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
Use plain pointers instead of references to pointer.
[simgrid.git]
/
src
/
kernel
/
resource
/
CpuImpl.hpp
diff --git
a/src/kernel/resource/CpuImpl.hpp
b/src/kernel/resource/CpuImpl.hpp
index af08d0cbbef19143c768d164a6aa552524e441d0..62377021c5f91677ffbf11da71b93ff6d0f54002 100644
(file)
--- a/
src/kernel/resource/CpuImpl.hpp
+++ b/
src/kernel/resource/CpuImpl.hpp
@@
-78,6
+78,8
@@
public:
CpuImpl* set_core_count(int core_count);
virtual int get_core_count() const { return core_count_; }
+ void turn_off() override;
+
bool is_used() const override { return true; }
void seal() override;