C ++代码性能 [英] C++ code performance

查看:138
本文介绍了C ++代码性能的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当使用VS2005将代码写入C ++时,如何衡量代码的性能?

When is about writing code into C++ using VS2005, how can you measure the performance of your code?

VS中有任何默认工具吗?我可以知道哪个函数或类减慢了我的应用程序吗?

Is any default tool in VS for that? Can I know which function or class slow down my application?

是否可以集成到VS中的其他外部工具,以测量我的代码中的差距? >

Are other external tools which can be integrated into VS in order to measure the gaps in my code?

推荐答案

如果您有Visual Studio 2005的Team System版本,您可以使用内置的分析器。

If you have the Team System edition of Visual Studio 2005, you can use the built-in profiler.

  • http://msdn.microsoft.com/en-gb/library/z9z62c29(VS.80).aspx

这篇关于C ++代码性能的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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