Visual Studio 2010 检测分析器使用什么时间单位? [英] What time unit is used in the Visual Studio 2010 instrumentation profiler?

查看:60
本文介绍了Visual Studio 2010 检测分析器使用什么时间单位?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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 检测分析器使用什么时间单位?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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