psi: clarify the units used in pressure files
authorWaiman Long <[email protected]>
Sat, 6 Apr 2019 01:39:14 +0000 (18:39 -0700)
committerLinus Torvalds <[email protected]>
Sat, 6 Apr 2019 02:02:31 +0000 (16:02 -1000)
commitbe87ab0afd680ac35486d16c0963c56d9be1d8a0
tree228934ed65cbf0fb3e1c9fc50151d78742ad02ac
parentc6f3c5ee40c10bb65725047a220570f718507001
psi: clarify the units used in pressure files

The output of the PSI files show a bunch of numbers with no unit.  The
psi.txt documentation file also does not indicate what units are used.
One can only find out by looking at the source code.  The units are
percentage for the averages and useconds for the total.  Make the
information easier to find by documenting the units in psi.txt.

Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Waiman Long <[email protected]>
Acked-by: Johannes Weiner <[email protected]>
Cc: "Peter Zijlstra (Intel)" <[email protected]>
Cc: Tejun Heo <[email protected]>
Cc: Jonathan Corbet <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Documentation/accounting/psi.txt