From: Florian Forster Date: Fri, 3 Sep 2010 10:22:25 +0000 (+0200) Subject: lpar plugin: Document why comsumed ticks may be larger than entitled ticks. X-Git-Tag: collectd-5.0.0-beta0~27^2~12 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=51f35f06cdcae02cc5c71baab2ac6a85d155d5a0;p=collectd.git lpar plugin: Document why comsumed ticks may be larger than entitled ticks. --- diff --git a/src/lpar.c b/src/lpar.c index 2f40691d..113dff93 100644 --- a/src/lpar.c +++ b/src/lpar.c @@ -156,6 +156,8 @@ static int lpar_read_shared_partition (const perfstat_partition_total_t *data) idle_diff = idle - idle_old; consumed_ticks = user_diff + syst_diff + wait_diff + idle_diff; + /* "uncapped" partitions are allowed to consume more ticks than + * they are entitled to. */ if (entitled_ticks >= consumed_ticks) unav_diff = entitled_ticks - consumed_ticks; else