UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Explorer
Explorer
2,391 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
Scholar hbucher
Scholar
4,197 Views
Registered: ‎03-22-2016

Re: How to find bottlenecker function in software?

Jump to solution

@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
Scholar hbucher
Scholar
4,198 Views
Registered: ‎03-22-2016

Re: How to find bottlenecker function in software?

Jump to solution

@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