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

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

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! 

publicaciones de 3 / 0 nuevos
Último envío
Para obtener más información sobre las optimizaciones del compilador, consulte el aviso sobre la optimización.
Imagen de Peter Wang (Intel)

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

Your explain is really helpful.

Thank you! 

Inicie sesión para dejar un comentario.