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
[FIX] Fix broken commit 770f1cc88b3b35c90e505470753b70b95a326b91
[simgrid.git]
/
src
/
surf
/
plugins
/
host_load.cpp
diff --git
a/src/surf/plugins/host_load.cpp
b/src/surf/plugins/host_load.cpp
index
dcf86a2
..
623ae67
100644
(file)
--- a/
src/surf/plugins/host_load.cpp
+++ b/
src/surf/plugins/host_load.cpp
@@
-35,6
+35,7
@@
public:
double getCurrentLoad();
double getComputedFlops();
double getCurrentLoad();
double getComputedFlops();
+ double getAverageLoad();
void update();
void reset();
void update();
void reset();
@@
-79,7
+80,7
@@
double HostLoad::getCurrentLoad()
double HostLoad::getAverageLoad()
{
double HostLoad::getAverageLoad()
{
- return getComputedFlops() / (host->speed() * host->coreCount() * (surf_get_clock() - last_reset))
+ return getComputedFlops() / (host->speed() * host->coreCount() * (surf_get_clock() - last_reset))
;
}
double HostLoad::getComputedFlops()
}
double HostLoad::getComputedFlops()