Hi forum users,
I have an executable and I would like to track its memory usage as a function of time. I tried the "memory access" view point, but could not extract this information.
The only relevant post I found on this topic is an ancient one. https://software.intel.com/en-us/forums/intel-vtune-amplifier-xe/topic/309766
Is this possible with VTune? What is the correct analysis set up? Any comment is appreciated.
Yeah, VTune Amplifier is not really the right tool to measure memory usage. Amplifier's memory analysis is targeted at determining memory-related architecture issues that may inhibit hotspots from achieving their maximum performance.
For memory usage analysis, I would recommend the Intel® Inspector. Inspector has the ability to track heap growth and display this in real-time as well as analyze it after collection completes. Check out this article. Intel Inspector XE is part of the Intel® Parallel Studio XE.
It depends on your demands - if you need to know memory growth in specific period, please use Inspector; if you need to know memory objects' cost (load & average latency) in specific function, please refer to this blog.