aboutsummaryrefslogtreecommitdiffstats
path: root/ticker.py
diff options
context:
space:
mode:
authorVolker Hoffmann <volker@cheleb.net>2015-08-26 09:08:11 +0200
committerVolker Hoffmann <volker@cheleb.net>2015-08-26 09:08:11 +0200
commit68d53ef05ffd5084c1621b53f178fadf0c07e346 (patch)
tree883bbd3f1d0856ecdb35bf6d9ac18b73c5bb7710 /ticker.py
parente4f7fcd1c53bbfc1e507eb34213fd6ac0dd6f752 (diff)
fix: compute cpu utilization with allocated cpu cores instead of partitions
Diffstat (limited to 'ticker.py')
-rw-r--r--ticker.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/ticker.py b/ticker.py
index 3cc34ec..12e4456 100644
--- a/ticker.py
+++ b/ticker.py
@@ -28,7 +28,8 @@ njobs_by_partition_and_state = \
# #############################################################################
utilization_by_partition = \
derived.compute_utilization(number_of_nodes_down, \
- njobs_by_partition_and_state)
+ njobs_by_partition_and_state, \
+ cpu_allocations)
# #############################################################################
# Load Data from Netatmo