Is this kind of profile output correct?


(Shaocong Liang) #1

Above is a mutex profile output. I probably know the output meaning of profile output. I am confused with

 flat flat% sum%  cumulative  cumulative%
 0    0%   100%   20000         1000%

flat is zero but sum is 100% how to understand?

This link helps me https://www.reddit.com/r/golang/comments/7ony5f/what_is_the_meaning_of_flat_and_cum_in_golang/


(system) closed #2

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.