gpt4 book ai didi

performancecounter - Perf:[] 记录在 perf stat 输出中是什么意思?

转载 作者:行者123 更新时间:2023-12-04 00:11:47 27 4
gpt4 key购买 nike

perf stat -e <events> <command>许多不同的事件通常会返回这样的输出

   127.352.815.472 r53003c                                                      [23,76%]
65.712.112.871 r53019c [23,81%]
178.027.463.861 r53010e [23,88%]
162.854.142.303 r5302c2 [24,05%]
...

百分比记录是什么意思?

最佳答案

百分比显示在 perf 必须多路复用事件的情况下测量特定事件的时间百分比。事件多路复用在 perf wiki 上有更详细的解释。 ,我在下面附上了一个简短的引述:

If there are more events than counters, the kernel uses time multiplexing (switch frequency = HZ, generally 100 or 1000) to give each event a chance to access the monitoring hardware. Multiplexing only applies to PMU events. With multiplexing, an event is not measured all the time. At the end of the run, the tool scales the count based on total time enabled vs time running.

关于performancecounter - Perf:[<n percent>] 记录在 perf stat 输出中是什么意思?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/33679408/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com