Visual Studio 2010 中的探查器非常棒,但我看不到检测探查器中报告的时间结果的单位.结果表只是数字,我在 UI 中找不到任何位置我可以设置单位(如"MSDN 上的部分,但它只是使用 时间 来解释数字.(执行所花费的总时间...")
有谁知道使用什么单位(毫秒、微秒、滴答等)?我猜是毫秒,但我不是 100% 确定.
解决方案时间以毫秒 (msec) 或处理器周期 (ticks) 为单位.
根据 MSDN 文档(指的是vs2008但还是一样):
以毫秒为单位的时间(msec) 或处理器周期(ticks)直接执行此函数所花费的时间,不包括所花费的时间在此函数调用的子函数中.
The profiler in Visual Studio 2010 is great and all, but I can't see what unit the time results in the instrumentation profiler is reported in. The results table is just numbers and I can't find anywhere in the UI where I can set the unit (as there is in e.g. AQTime).
I've read through the "Understanding Instrumentation Data" section on MSDN but it just uses time to explain the numbers. ("The total time that was spent executing...")
Does anyone know what unit (milliseconds, microseconds, ticks, etc.) that is used? I'm guessing milliseconds but I'm not 100% sure.
解决方案The time is in milliseconds (msec) or processor cycles (ticks).
According to the MSDN docs (It refers to vs2008 but it's still the same):
The time in milliseconds (msec) or processor cycles (ticks) that was spent in the direct execution of this function, excluding time spent in child functions called by this function.
更多推荐
Visual Studio 2010 检测分析器使用什么时间单位?
发布评论