How to find bandwidth usage for each function

Hi,

I wonder if there is any tool to profile DDR bandwidth?

For example I can use ‘Perf’ to find the CPU usage of each function in my program.

Is there any similar tool or method for DDR bandwidth on Xavier?

Thanks!

Hi,

You can use open tool like mbw.
apt-get install mbw

thanks
Bibek

Hi,

I recommend using a valgrind tool called Massif. This tool can be used to measure how much heap memory a program uses, it provides data for each function call and it has a GUI (visualizer). These features are extremely convenient for finding memory leaks for example, you can find more info here: http://valgrind.org/docs/manual/ms-manual.html