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
s4u::Host->getLoad() returns the achieved speed in flops/s
[simgrid.git]
/
include
/
simgrid
/
s4u
/
Host.hpp
diff --git
a/include/simgrid/s4u/Host.hpp
b/include/simgrid/s4u/Host.hpp
index
6743001
..
889419c
100644
(file)
--- a/
include/simgrid/s4u/Host.hpp
+++ b/
include/simgrid/s4u/Host.hpp
@@
-113,6
+113,9
@@
public:
*/
void execute(double flops);
+ /** @brief Returns the current computation load (in flops per second) */
+ double getLoad();
+
private:
simgrid::xbt::string name_{"noname"};
std::unordered_map<std::string, Storage*>* mounts = nullptr; // caching