dcsimg
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


Tip of the Day
Language: C++
Expertise: Beginner
May 2, 1997

WEBINAR:

On-Demand

Building the Right Environment to Support AI, Machine Learning and Deep Learning


C++ Program Performance Monitor

Question:
Do you know of a good tool for getting performance data on a pure C++ program? I need a tool that indicates sections of code that use the most CPU/memory, etc.

Answer:
Many development environments include a profiling tool that helps analyze which functions are called most and how much memory a particular routine consumes, etc. Check your compiler documentation to see if your compiler's vendor manufactures anything to help you do that.

The gnu compiler's suite comes with one such program, called gprof.

DevX Pro
 
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap
Thanks for your registration, follow us on our social networks to keep up-to-date