Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Profiler for Visual Studio 2008, C++?

Are there any good, free (or at least reasonably cheap) profilers for at least native C++ that can integrate with Visual Studio 2008 Professional?

I looked at DevPartner community edition but they seem to only support Visual Studio 2003 and Visual Studio 2005.

Failing that are there any good free/cheap profilers in general that I can get working with VS with relativly little friction?

like image 472
Fire Lancer Avatar asked Nov 15 '08 11:11

Fire Lancer


People also ask

Does Visual Studio have a profiler?

In Visual Studio 2019, the legacy Performance Explorer and related profiling tools such as the Performance Wizard were folded into the Performance Profiler, which you can open using Debug > Performance Profiler.

What is profiler C#?

A profiler is a tool that monitors the execution of another application. A common language runtime (CLR) profiler is a dynamic link library (DLL) that consists of functions that receive messages from, and send messages to, the CLR by using the profiling API. The profiler DLL is loaded by the CLR at run time.

Does Visual Studio code have a profiler?

If you use the dotTrace extension integrated with Visual Studio, it helps you start profiling the applications from the IDE. You also can view and analyze timeline profiling results right in Visual Studio.

How do I enable diagnostic tools in Visual Studio?

When you start debugging in Visual Studio by selecting Debug > Start Debugging, or pressing F5, the Diagnostic Tools window appears by default. To open it manually, select Debug > Windows > Show Diagnostic Tools. The Diagnostic Tools window shows information about events, process memory, and CPU usage.


2 Answers

At my workplace we use AQTime. It's not free ($600 or 30-day trial) but it really works wonders. I like it because it can handle both native (we do C++) and managed code. It works in stand-alone mode, integrates with Visual Studio, and also works with Borland's IDE (for those C++ Builder and Delphi fans out there).

But I will be watching this question to see if there are any free tools I can use at home =)

like image 116
Filip Frącz Avatar answered Sep 28 '22 07:09

Filip Frącz


Microsoft actually provides a stand-alone verson of the profiler, which you can use from the command-line. http://www.microsoft.com/downloads/details.aspx?familyid=fd02c7d6-5306-41f2-a1be-b7dcb74c9c0b&displaylang=en

like image 22
Davide Quack Avatar answered Sep 28 '22 05:09

Davide Quack