Visual Studio 2010 检测分析器使用什么时间单位?

编程入门 行业动态 更新时间:2024-10-21 11:52:41
本文介绍了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 检测分析器使用什么时间单位?

本文发布于:2023-11-25 15:34:08,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1630322.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:分析器   单位   时间   Visual   Studio

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!