<p>I have a Visual Studio 2005 Solution workspace which in turn has 8 projects included in it. I want to profile the complete code(all the projects) and get some measure about the absolute cycles taken by each function to execute, or at least percentage cycle consumptions.</p>

<p>I checked out help for VS 2005, and also the project setiings options but could not find any pointers on hwo to get the profile info. 
Any help regarding this would be beneficial.</p>

<p>-AD.</p>

[{'answer_id': 45749, 'author': 'hometoast', 'author_id': 2009, 'author_profile': 'https://Stackoverflow.com/users/2009', 'pm_score': 0, 'selected': False, 'text': '<p>Red-gate\'s <a href="http://www.red-gate.com/products/ants_profiler/index.htm" rel="nofollow noreferrer">Profiler</a> is great for this.</p>\n'}, {'answer_id': 45758, 'author': 'Erick Sgarbi', 'author_id': 4171, 'author_profile': 'https://Stackoverflow.com/users/4171', 'pm_score': 0, 'selected': False, 'text': '<p>I use <a href="http://www.jetbrains.com/profiler/" rel="nofollow noreferrer">Jebrains profiler</a> is very easy to use and performs very well too.</p>\n'}, {'answer_id': 45800, 'author': 'goldenmean', 'author_id': 2759376, 'author_profile': 'https://Stackoverflow.com/users/2759376', 'pm_score': 2, 'selected': False, 'text': '<p>I guess the inbuilt profiler of Visual Studio 2005 comes onyl with the Developer Edition and Team Edition. I have a Professional edition which, it seems doesnot have the inbuilt profiler tool.</p>\n\n<p>-AD</p>\n'}, {'answer_id': 45842, 'author': 'axs6791', 'author_id': 3081, 'author_profile': 'https://Stackoverflow.com/users/3081', 'pm_score': 1, 'selected': False, 'text': '<p>We use <a href="http://www.compuware.com/solutions/default.htm" rel="nofollow noreferrer">DevPartner</a> with Visual Studio 2005. It gives you performance analysis of the specific projects in your solution you want to look at. We also use it for memory management analysis, and error analysis. Is commercial tool, so it\'s not free.</p>\n'}, {'answer_id': 46198, 'author': 'McKenzieG1', 'author_id': 3776, 'author_profile': 'https://Stackoverflow.com/users/3776', 'pm_score': 2, 'selected': False, 'text': '<p>If your application is not particularly processor intensive, <a href="http://www.red-gate.com/products/ants_profiler/index.htm" rel="nofollow noreferrer">redgate ANTS Profiler</a> is a good choice - the line-by-line stats can come in quite handy, and the whole product is clean and well-designed.</p>\n\n<p>If your app needs a lot of CPU to operate normally, however, most of the .NET profilers on the market won\'t be able to handle it. The only two that I have ever found that will work for a really heavy-weight application are <a href="http://www.jetbrains.com/profiler/" rel="nofollow noreferrer">JetBrains dotTrace</a> and <a href="http://www.yourkit.com/dotnet/download/index.jsp" rel="nofollow noreferrer">YourKit</a>. The two are very similar, which is not surprising, given that YourKit seems to have been started by a former JetBrains employee. I personally prefer dotTrace, but that may just be because that is what I used first, and there has never been any good reason to switch.</p>\n\n<p>I have tested ANTS, AQTime, DevPartner, GlowCode, Borland OptimizeIt and Intel VTune, and all of them have too much overhead to handle a demanding application. (VTune is a possible exception, but it is so horribly complex to configure and use that I was never able to figure out exactly what it could handle. It is also very expensive.)</p>\n'}, {'answer_id': 46232, 'author': 'Tomas Pajonk', 'author_id': 4694, 'author_profile': 'https://Stackoverflow.com/users/4694', 'pm_score': 0, 'selected': False, 'text': "<blockquote>If your app needs a lot of CPU to operate normally, however, most of the .NET profilers on the market won't be able to handle it.</blockquote>\n\n<p>I have used a trial version of RedGate Ant's profiler on an optimizing algorithm that normally uses up to 100% CPU on a single core machines and though slow it managed to get through and report all I needed to know. Extremely helpfull tool. I wonder what kind of algorithms have you run on the Ant's profiler. </p>\n\n<p>Has anyone used the VS profiler ?</p>\n"}, {'answer_id': 46288, 'author': 'Aardvark', 'author_id': 3655, 'author_profile': 'https://Stackoverflow.com/users/3655', 'pm_score': 2, 'selected': False, 'text': '<p>I\'ve used both the profiler in Compuware’s DevPartner (I like to still call it “TrueTime”) and <a href="http://www.ibm.com/software/awdtools/purifyplus/win/" rel="nofollow noreferrer">Rational\'s Quantify</a>. I always liked Quantify better, but as I\'ve moved between companies DevPartner is usually already the “standard”. </p>\n\n<p>Both are expensive, but they (seem to) add so much value that any commercial shop should have no problem investing in some seats. </p>\n\n<p>Quantify didn’t require special rebuilds of the project – which was GREAT. It also crashed less (that’s not saying much, it had its own issues). DevPartner also tends to break as each new version of Visual Stuido was release (maybe this is better now?).  Buy the yearly maintenance agreement if you go this way.</p>\n\n<p>That said, I’ve often just write a class remembers the time at construction and spits out (log file) the elapsed time in its destructor. I used <a href="http://support.microsoft.com/kb/172338" rel="nofollow noreferrer">QueryPerformanceCounter</a>.  I’d stick this class at the top of the function I’d want to time. You could get fancy with making it a macro, use the preprocessor to include this class only under a special build…</p>\n'}, {'answer_id': 288404, 'author': 'Nelson Miranda', 'author_id': 1130097, 'author_profile': 'https://Stackoverflow.com/users/1130097', 'pm_score': 2, 'selected': False, 'text': '<p>I recommend you <a href="http://www.eqatec.com/tools/profiler" rel="nofollow noreferrer">EQATEC</a> profiler which also includes in its site a tracer. </p>\n\n<p>Also it\'s free and easy to use.</p>\n\n<p><a href="http://www.eqatec.com/tools/profiler/profiler-logo.gif" rel="nofollow noreferrer">alt text http://www.eqatec.com/tools/profiler/profiler-logo.gif</a></p>\n'}]
['https://Stackoverflow.com/questions/45744', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/2759376/']