问题描述
我已经阅读了大量的帖子在这里提供profiling建议,但我需要问这个。
从我可以告诉,Visual C ++ Express不生成由分析器程序使用的调试文件。我试过AMD Codeanalyst,它似乎工作正常,除非没有一个例程在我的程序被确定 - 只是很多不明的模块。
我是新的到C ++。我习惯了Python使用的简单分析器。简单,我假设,因为语言是解释。
我欣赏任何见解。
PS:方向盘的旋转是
首先,汽车的极角速度应该与汽车的速度和角度成正比。
其次,几乎没有教授,博客或书籍作者会告诉你这一点,但如果你想看到代码在做什么和优化它,的列表。
有些 /> RotateRight / Zoom 和。
I've read a lot of the posts here giving profiling advice but I need to ask this.
From what I can tell, Visual C++ Express doesn't generate a debugging file that is used by profiler programs. I tried AMD Codeanalyst and it seemed to work fine except none of the routines in my program were identified -- just a lot of "unidentified modules".
I'm new to C++. I'm used to the simple profiler used by Python. Simple, I assume, because the language is interpreted.
I appreciate any insights.
P.S.: Is the rotation of the steering wheel the derivative of the rotation of the car?
First, the polar angular velocity of the car should be proportional to the speed of the car and to the angular position of the steering wheel (to a first approximation).
Second, there's hardly a professor or blogger or book author who will tell you this, but if you want to see what the code is doing and optimize it, the hands-down simplest way is this.
Added: Programmers have a strong tendency to assume that any automated profiling tool will do a better job than the manual technique, but that depends on the details of exactly what they do. Most of them implement what's popular rather than what is most effective. The result is some performance problems being missed, putting a cap on the speedup you can get. Here is a list of common misconceptions that result in failing to find performance problems.
Some profilers do get it nearly right, including RotateRight/Zoom and LTProf.
这篇关于我应该如何剖析visual c ++ express?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!