deriving cpu_util from cputime is not exact as it relies on timing
of host and a completely independent timing of pollster. this can
cause precision issues with nanosecond timing resulting in >100%
calculations. this sets a cap so at most cpu_util can only report
100% cpu utilisation.
Reviewed: https:/ /review. openstack. org/475943 /git.openstack. org/cgit/ openstack/ ceilometer/ commit/ ?id=41d940e3690 ef303dfb4658831 1dd1337bd821ab
Committed: https:/
Submitter: Jenkins
Branch: master
commit 41d940e3690ef30 3dfb46588311dd1 337bd821ab
Author: gord chung <email address hidden>
Date: Tue Jun 20 22:16:26 2017 +0000
cap cpu_util
deriving cpu_util from cputime is not exact as it relies on timing
of host and a completely independent timing of pollster. this can
cause precision issues with nanosecond timing resulting in >100%
calculations. this sets a cap so at most cpu_util can only report
100% cpu utilisation.
Change-Id: I80c099d8618833 794ef19e9497cfa d4db7912851
Closes-Bug: #1527620