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 a deque instead of an intrusive hook for all VMs
[simgrid.git]
/
src
/
surf
/
plugins
/
energy.hpp
diff --git
a/src/surf/plugins/energy.hpp
b/src/surf/plugins/energy.hpp
index
b854921
..
2d9709c
100644
(file)
--- a/
src/surf/plugins/energy.hpp
+++ b/
src/surf/plugins/energy.hpp
@@
-8,7
+8,7
@@
#include <xbt/base.h>
#include <xbt/base.h>
-#include <
map
>
+#include <
utility
>
#include "src/surf/HostImpl.hpp"
#include "src/surf/HostImpl.hpp"
@@
-25,7
+25,7
@@
public:
static simgrid::xbt::Extension<simgrid::s4u::Host, HostEnergy> EXTENSION_ID;
typedef std::pair<double,double> power_range;
static simgrid::xbt::Extension<simgrid::s4u::Host, HostEnergy> EXTENSION_ID;
typedef std::pair<double,double> power_range;
- HostEnergy(simgrid::s4u::Host *ptr);
+
explicit
HostEnergy(simgrid::s4u::Host *ptr);
~HostEnergy();
double getCurrentWattsValue(double cpu_load);
~HostEnergy();
double getCurrentWattsValue(double cpu_load);