Analyzers
Talk to fellow users of Intel Analyzer tools (Intel VTune™ Profiler, Intel Advisor)
5082 Discussions

vtune CLI report: how to get "Average Latency (cycles)" metric for memory analysis?

Pramod_K_
Beginner
311 Views

Dear All,

I have generated a Vtune profile using the command:

vtune -collect memory-access -result-dir=linreg_meman -knob analyze-mem-objects=true -knob mem-object-size-min-thres=1 -knob dram-bandwidth-limits=true ./lreg-pthread key_file.txt

And in the UI I see the "Average Latency" as below:

Pramod_K__1-1720523909117.png

I tried 

vtune -report top-down -r linreg_meman  -column="Average Latency"

But I don't get the same results:

Pramod_K__2-1720524294769.png

Any suggestions?

(I see that in UI we have `Bottom-up` whereas CLI `top-down`. That's because there is no `Bottom-up` report type in report CLI,)

Labels (1)
0 Kudos
1 Reply
yuzhang3_intel
Moderator
260 Views

VTune report supports 'hotspots' to correspond to GUI page 'Bottom-up', like below:

$ vtune -report hotspots -r ../linreg_meman -colum='Average Latency (cycles):Self' -S='Average Latency (cycles):Self'

 

You can also use the '-s' or '-S' option to sort the results you are interested in as above.

 

In addition, you can get support from $vtune -help for details.

$ vtune -help report

0 Kudos
Reply