cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
doner_t
Explorer
Explorer
2,617 Views
Registered: ‎04-19-2016

How to find bottlenecker function in software?

Jump to solution
Hello All,

How can we find bottlenecker function in software in terms of both time&memory ? Is there a tool for this task?

Best Regards,
1 Solution

Accepted Solutions
hbucher
Scholar
Scholar
4,423 Views
Registered: ‎03-22-2016

@doner_t 

If you have full access to a linux distribution, I would recommend valgrind 

http://cs.ecs.baylor.edu/~donahoo/tools/valgrind/

You will need a front end to read the reports, like Valkyrie or kcachegrind.

 

Another possible solution on linux, I recommend using gnu perf. 

http://sandsoftwaresound.net/perf/perf-tutorial-hot-spots/

 

 

If you are running standalone, you have to measure time manually on a top down approach starting with main and drilling down. 

vitorian.com --- We do this for fun. Always give kudos. Accept as solution if your question was answered.
I will not answer to personal messages - use the forums instead.

View solution in original post

0 Kudos
1 Reply
hbucher
Scholar
Scholar
4,424 Views
Registered: ‎03-22-2016

@doner_t 

If you have full access to a linux distribution, I would recommend valgrind 

http://cs.ecs.baylor.edu/~donahoo/tools/valgrind/

You will need a front end to read the reports, like Valkyrie or kcachegrind.

 

Another possible solution on linux, I recommend using gnu perf. 

http://sandsoftwaresound.net/perf/perf-tutorial-hot-spots/

 

 

If you are running standalone, you have to measure time manually on a top down approach starting with main and drilling down. 

vitorian.com --- We do this for fun. Always give kudos. Accept as solution if your question was answered.
I will not answer to personal messages - use the forums instead.

View solution in original post

0 Kudos