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

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

Feng_L_
Beginner
411 Views

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 Replies
Peter_W_Intel
Employee
411 Views

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

0 Kudos
Feng_L_
Beginner
411 Views

Your explain is really helpful.

Thank you! 

0 Kudos
Reply