Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Profiling line-by-line in C++

I have a C++ program I am trying to optimize. Since I want it to run fast, I am not using a lot of function calls. Most profiling tool I have seen can give you profiling info in a function-call resolution. However, I would like it in a line-by-line resolution. Is there some option like this?

I am using Visual Studio 2010 on Windows.

Thanks.

like image 561
R S Avatar asked Feb 27 '23 01:02

R S


1 Answers

Intel Parallel Amplifier should be capable of what you want. If that is what you want:

amplifier

like image 108
Keynslug Avatar answered Mar 07 '23 06:03

Keynslug