什么是已包含CPU时间,不包括CPU时间,已包含真正的CPU时间,不包括真正的CPU时间traceview意思? [英] What is the meaning of Incl CPU Time, Excl CPU Time, Incl Real CPU Time, Excl Real CPU Time in traceview?

查看:369
本文介绍了什么是已包含CPU时间,不包括CPU时间,已包含真正的CPU时间,不包括真正的CPU时间traceview意思?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

1)专用时间是在该方法中所花费的时间 2)包容时间是在该方法中所花费的时间加上在任何被调用的函数所花费的时间 3)我们将调用方法父母和调用的方法所为的孩子。 参考链接:点击这里

1) Exclusive time is the time spent in the method 2) Inclusive time is the time spent in the method plus the time spent in any called functions 3) We refer to calling methods as "parents" and called methods as "children." Reference Link : Click here

这里的问题是:

什么

  • 已包含CPU时间和放大器;包括真正的CPU时间?
  • 在不包括CPU时间和放大器;不包括真正的CPU时间?

在我的一个例子跟踪文件 对于方法1():已包含CPU时间= 242毫秒和放大器;包括实时的CPU时间= 5012毫秒

in my one example trace file for Method1() : Incl CPU Time = 242 msec & Incl Real CPU Time = 5012 msec

  • 在我不能确定在上述两次来由5012-242 = 4770毫秒的差距。

请帮助我,如果你有什么想法。

Please help me if you have any idea.

推荐答案

CPU时间是该过程使用的CPU和CPU的实际时间是总时间从工艺过程的结束的开始,它包括等待时间的时间的过程来执行。

cpu time is the time for which the process uses the cpu and cpu real time is the total time from the starting of process to end of process it includes waiting time of process to execute.

这篇关于什么是已包含CPU时间,不包括CPU时间,已包含真正的CPU时间,不包括真正的CPU时间traceview意思?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆