[英]Golang - What is the meaning of the seconds in CPU profiling graph?
When CPU profiling is enabled, the Go program stops about 100 times per second and records a sample consisting of the program counters on the currently executing goroutine's stack. 启用CPU性能分析后,Go程序每秒停止约100次,并在当前正在执行的goroutine堆栈上记录一个由程序计数器组成的样本。
That time and percentange is in reference to the sample. 时间和百分比是参考样品的时间。
Here is a nice reference for you to read more about it: https://blog.golang.org/profiling-go-programs 这是一个很好的参考,供您阅读有关它的更多信息: https : //blog.golang.org/profiling-go-programs
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.