VisualVM and Self Time

前端 未结 1 1588
醉酒成梦
醉酒成梦 2020-12-05 01:42

I\'ve been searching all over for a consistent and clear explanation of what \'self time\' actually refers to in the VisualVM context and how does it differ to \'self time (

相关标签:
1条回答
  • 2020-12-05 02:17
    • Self Time is a wall-clock time spent in the method itself (includes time waiting/sleeping).
    • Self Time (CPU) is a time processor time, so it does NOT include time spent waiting, sleeping, etc.

    • Both columns do NOT include time spent in methods invoked from that method.
    • Both Self Time and Self Time (CPU) in the sampler are approximation of actual data.
    • Self Time [%] refers to one of the two selected Self Time [(CPU)] columns.
    0 讨论(0)
提交回复
热议问题