-
-
Notifications
You must be signed in to change notification settings - Fork 450
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Introduce new SP_VALUE_100() macro and use it in pidstat
Under specific loads, pidstat can output values bigger than 100% in CPU statistics caused by inaccurate read of statistics provided by kernel. This patch adds new SP_VALUE_100() macro which limits value to 100 for these statistics, so the output can be correctly interpreted.
- Loading branch information
Peter Schiffer
committed
Mar 7, 2016
1 parent
e12a6f8
commit 52977c4
Showing
2 changed files
with
13 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters