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

How to collect and report spin time with vtune on command line?

Feng_L_
Einsteiger
761Aufrufe

How to collect and report spin time with vtune on command line? I am using VTune Amplifier XE 2013

I have tried locksandwaits and cannot get it. 

Thank you! 

0 Kudos
2 Antworten
Peter_W_Intel
Mitarbeiter
761Aufrufe

Tested my application:

>amplxe-cl -collect locksandwaits -- nq-openmp-intel.exe 14

>amplxe-cl -report hotspots -group-by sync-obj
amplxe: Using result path `C:\zwang\OEMs_ISVs\demo\NQueens\nq-openmp-intel\Debug\r001lw'
amplxe: Executing actions 50 % Generating a report
Sync Object Wait Time:Self
------------------------------------------------------------------ --------------
Manual Reset Event 0xba145839 17.0
46
Manual Reset Event 0x08e0d04b 10.0

It provided Wait Time, which included all time spent for this Event, but spin time means that CPU is busy (Wait time = Wait + Spin) . Spin time cannot be got from command line but it can be got from GUI, you can select some column or All to export to CSV file.

Regards, Peter

Feng_L_
Einsteiger
761Aufrufe

Your explain is really helpful.

Thank you! 

Antworten