Public bug reported:
A theoretical division by zero bug can occur when the total clock ticks
for the run is zero. Check for this and don't print stats to avoid
division by zero error
** Affects: cpustat (Ubuntu)
Importance: Low
Assignee: Colin Ian King (colin-king)
Status: In Progress
** Changed in: cpustat (Ubuntu)
Importance: Undecided => Low
** Changed in: cpustat (Ubuntu)
Status: New => In Progress
** Changed in: cpustat (Ubuntu)
Assignee: (unassigned) => Colin Ian King (colin-king)
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1506156
Title:
cpustat: fix potential division by zero when total_ticks is zero
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cpustat/+bug/1506156/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs