Free profiling in C++? [duplicate]

2019-02-18 18:22发布

Possible Duplicate:
What's your favorite profiling tool (for C++)

In Java and they have a nice & free profiler that comes with the sdk called jvisualvm. Is there anything like that for C++? I'm on Windows and have Visual Studio 2010. I'm a student/hobbyist, so something free would be nice.

jvisualvm lets you look inside your app and has a lot of need info. How much cpu/memroy things are taking, how many times it's being called, total and so on.

2条回答
霸刀☆藐视天下
2楼-- · 2019-02-18 18:46
  1. AMD Code Analyst
  2. Sleepy

A little googling gives a impressive list of freebies(disclaimer: I haven't used these):

  1. Shiny
  2. Google Test
  3. Windows Performance Analysis

Hth.

查看更多
爷的心禁止访问
3楼-- · 2019-02-18 19:00

The Windows Peformance Toolkit is a very thorough and free, among other things it provides a function level sampling based profiler. The tutorial / guide that it comes with explains how to use it.

As mentioned above AMD's code analyst is also quite good and free.

查看更多
登录 后发表回答