1

オプションでJavaを実行すると:

-agentlib:hprof=cpu=times

hprof の結果は次のようになります。

CPU TIME (ms) BEGIN (total = 3093024) Thu Jan 28 14:57:36 2016
rank   self   accum    count trace  method
1      35.81% 35.81%       6 328434 java.util.concurrent.locks.LockSupport.park
2      28.04% 63.85%      68 330338 java.util.concurrent.locks.LockSupport.park
3      11.04% 74.88%   59675 326270 sun.nio.ch.EPollArrayWrapper.poll

file とはどういう意味accumですか?

ありがとう。

4

1 に答える 1

1

hprof CPU TIMESで述べたように:

accum: includes the time for the entries that appear above this one in the list. The last entry will have an accum of 100%
于 2016-01-28T08:01:15.263 に答える