On Tuesday, 30 June 2020 18:16:54 UTC+2, lqiy...@gmail.com wrote:
>
> $ go version
> go version go1.13.10
>
> In the container, the golang process used 100% of the CPU. When I took a 
> 5minutes CPU profile, the result shows that only 1.64mins (32.69%) samples 
> are returned. Is it normal?
>
> go tool pprof autoscaler_cpuprofile.out
> File: autoscaler
> Type: cpu
> Time: Jun 29, 2020 at 11:21pm (CST)
> Duration: 5.01mins, Total samples = 1.64mins (32.69%)
>
>
Yes, the profile is sampling (not  a full capture but just a sample).

V. 

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/ad194b8c-85f2-4f4d-8c55-88ca5f85b985o%40googlegroups.com.

Reply via email to