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
[HostLoad] Elaborate on comment
[simgrid.git]
/
src
/
plugins
/
host_load.cpp
diff --git
a/src/plugins/host_load.cpp
b/src/plugins/host_load.cpp
index
7420129
..
6185149
100644
(file)
--- a/
src/plugins/host_load.cpp
+++ b/
src/plugins/host_load.cpp
@@
-72,8
+72,8
@@
void HostLoad::update()
{
double now = surf_get_clock();
- /* Current flop per second computed by the cpu; current_flops = k * pstate_speed_in_flops, k @in {0, 1, ..., cores}
- *
number of active cores
*/
+ /* Current flop per second computed by the cpu; current_flops = k * pstate_speed_in_flops, k @in {0, 1, ..., cores
-1
}
+ *
designates number of active cores; will be 0 if CPU is currently idle
*/
current_flops_ = host_->pimpl_cpu->get_constraint()->get_usage();
/* flops == pstate_speed * cores_being_currently_used */