1d8d4be046
This patch just implements an equivalent to the master branch 'CPU_ZEROTICS' provision. However, the original impetus for that earlier implementation was ultimately attributed to a likely kernel anomaly since corrected. As a result, in this newlib implementation we take the opposite approach to the default behavior. There is no adjustment to TIC_SUM_DELTA values if fewer ticks than expected are recorded, unless the define is activated. The commit shown below explains why the 'CPU_ZEROTICS' define was retained in spite of the fix to the kernel. Reference(s): . issue referencing CPU_ZEROTICS https://gitlab.com/procps-ng/procps/issues/132 . master branch CPU_ZEROTICS summary commit ee3ed4b45edd66c6e0455d3fab08a48e7ea83030 . lengthy thread leading to CPU_ZEROTICS https://www.freelists.org/post/procps/CStates-handling-new-switch Signed-off-by: Jim Warner <james.warner@comcast.net>