Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix panic when no perf groups can be read during sampling (#185)
Fixes a panic when no perf groups can be read during sampling. This condition results in a divide-by-zero error. We skip the calculations and metrics updates when the number of active perf groups is zero during any sampling period.
- Loading branch information