sst-linux/Documentation/translations/zh_CN
Wang Yong 6fddf325fa delayacct: improve the average delay precision of getdelay tool to microsecond
[ Upstream commit eca7de7cdc382eb6e0d344c07b1449ed75f5b435 ]

Improve the average delay precision of getdelay tool to microsecond.  When
using the getdelay tool, it is sometimes found that the average delay
except CPU is not 0, but display is 0, because the precison is too low.
For example, see delay average of SWAP below when using ZRAM.

print delayacct stats ON
PID	32915
CPU             count     real total  virtual total    delay total  delay average
               339202     2793871936     9233585504        7951112          0.000ms
IO              count    delay total  delay average
                   41      419296904             10ms
SWAP            count    delay total  delay average
               242589     1045792384              0ms

This wrong display is misleading, so improve the millisecond precision of
the average delay to microsecond just like CPU.  Then user would get more
accurate information of delay time.

Link: https://lkml.kernel.org/r/202302131408087983857@zte.com.cn
Signed-off-by: Wang Yong <wang.yong12@zte.com.cn>
Reviewed-by: Yang Yang <yang.yang29@zte.com.cn>
Cc: David Hildenbrand <david@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Stable-dep-of: 3840cbe24cf0 ("sched: psi: fix bogus pressure spikes from aggregation race")
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-10-17 15:22:06 +02:00
..
accounting
admin-guide docs/zh_CN: Add new translation of admin-guide/bootconfig.rst 2022-09-27 13:21:45 -06:00
arm
arm64 Documentation: Chinese translation of Documentation/arm64/elf_hwcaps.rst 2020-11-30 10:36:45 -07:00
core-api
cpu-freq cpufreq: Reintroduce ready() callback 2022-02-09 13:18:49 +05:30
dev-tools
devicetree
doc-guide
driver-api
filesystems
iio
infiniband docs/zh_CN: add infiniband user_verbs translation 2021-08-12 08:52:03 -06:00
kernel-hacking
locking docs/zh_CN: Add mutex-design Chinese translation 2022-06-30 11:27:46 -06:00
loongarch
maintainer docs: use the lore redirector everywhere 2021-10-12 13:58:19 -06:00
mips
mm docs/zh_CN: Update the translation of page_owner to 6.0-rc7 2022-10-10 13:10:08 -06:00
openrisc docs/zh_CN: Modify the translator tag and fix the wrong word 2021-08-24 13:34:07 -06:00
parisc
PCI docs/zh_CN: add PCI acpi-info translation 2022-09-27 13:21:43 -06:00
peci
power
process
riscv
scheduler docs: scheduler: Update new path for the sysctl knobs 2022-09-27 13:21:42 -06:00
sound
video4linux media updates for v5.8-rc1 2020-06-03 20:59:38 -07:00
virt
arch.rst docs/zh_CN: add zh_CN/arch.rst 2022-10-11 11:01:17 -06:00
disclaimer-zh_CN.rst
index.rst docs/zh_CN: add a man-pages link to zh_CN/index.rst 2022-10-11 11:01:17 -06:00