什么是时间和命中计数蚂蚁探查 [英] What is Time and Hit Count in ANTS Profiler
问题描述
我开始评估红门的蚁探查以分析我的WPF应用程序。
我通过在线支持/文档阅读,似乎无法找到基本的解释(我不知道为什么他们没有在文档中):
在分析器,它显示的时间和命中计数方法。为什么时间有单位的%?难道不应该被秒?我尝试添加了所有的百分比,但他们不与儿童添加到100. 时间也有单位的%,增加了100%以上。我不知道他们是否有时间或某事的部分。
什么是笔数?什么是打我的应用程序,什么命中正在计数?
我知道我的声音很迟钝,但不理解时间和命中计数,我不能被阅读论坛或在线帮助。
< DIV CLASS =h2_lin>解决方案
从展鹏文档:
下面的数据显示堆栈跟踪中的每个方法,
所选择的时间段:
时间:总的执行时间为这个堆栈跟踪中的方法
时间与孩子:总执行时间的方法和所有
的孩子该堆栈跟踪中。
命中计数:
的方法被调用该堆栈跟踪内的次数
块引用>I start to evaluate Red Gate's ANTS Profiler to profile my WPF application.
I read through the online support/documentation and can't seem to find explanation for the basics (and I don't know why they are not in the documentation):
In the profiler, it shows Time and Hit Count of Method. Why is Time has unit of %? Shouldn't it be second? I try to add up all the percentage but they don't add up to 100. The Time with Children has also unit in %, which adds up more than 100%. I cannot tell whether they are time or portion of something.
What is Hit Count? What is "hitting" my application and what hit is being count?
I know I sound very retarded, but without understanding Time and Hit Count I can't being reading the forum or online help.
解决方案From the RedGate documentation:
The following data is shown for each method within the stack trace, for the selected time period:
Time: the total execution time for the method within this stack trace.
Time With Children: the total execution time for the method and all its children within this stack trace.
Hit Count: the number of times the method was called within this stack trace.
这篇关于什么是时间和命中计数蚂蚁探查的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!