无法理解 jprofiler 的调用树视图

Cannot understand call tree view of jprofiler

我是 jprofiler 的新手,我无法理解调用的含义, 1)如果一个方法进行 1 次调用,为什么每个子方法进行 1 次以上的调用? 2)时间是每次调用的时间还是调用总数所花费的总时间? 3)screenshot of my result总百分比是多少,例如一种方法占 21.6%,所以所有子方法加起来应该是 21.6%,但这里不是这种情况。

如果有人能向我解释调用树视图,那将非常有帮助。

提前致谢。

编辑:

1.In 图片screenshot 2 我在 91 inv 中突出显示了时间 869s,我想知道如何找出 1 次调用的时间,因为当我除以 869/91= 9.54 但是当我检查了我的日志,服务用时不到 1 秒。 你能给我解释一下吗?

1)If one method is taking 1 invocation how come the each sub methods are taking more than 1 invocation?

例如:方法A可以调用一次,方法B可以调用10次。

2)And the time is for per invocation or is it total time taken for total number of invocations?

这是所有调用的总时间。

3)And in screenshot of my resultwhat is the total %, for example one method is taking 21.6% so all the sub-methods should add up and they should be 21.6% but that is not the case here.

余数是"self-time".

https://www.ej-technologies.com/resources/jprofiler/help/doc/#jprofiler.cpu

详细解释。