Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Only report CPU percentage per period if period is > 0
The change in #154 lead to the CPU usage being reported for a 0s duration: cpu usage (0s): NaN% Fix this by only reporting CPU usage per period if the user specified a positive duration.
- Loading branch information