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

command(or options) questions: amplxe-cl, amplxe-gui

hulegea
Beginner
322 Views
Q1. I don't know exactly this command works well what i wantto do.
- collect hotspots using amplxe-cl command with -collect option,
and then, can the result file open in gui interface using amplxe-cl command with the specific option?
or
and then, can the result file open in gui interface using amplxe-gui command with the specific option?
Q2. Do you have any technical reports or guide docs about this?
0 Kudos
1 Reply
Peter_W_Intel
Employee
322 Views
Hello,

Here is an example (steps) to use amplxe-cl in command line:

$source /opt/intel/vtune_amplifier_xe/amplxe-vars.sh

// collect performance data
$amplxe-cl -collect hotspots -result-dir r0001hs -- ./primes.icc

// display result in command line
$amplxe-cl -report hotspots -result-dir r0001hs -group-by function -filter module=primes.icc, -OR-
$amplxe-cl -reportcallstacks -result-dir r0001hs -group-by function, -OR-
$amplxe-cl -reportgprof-cc -result-dir r0001hs

You also can open .amplxe file under result directory (display results) after invoking amplxe-gui.

For more information about using amplxe-cl, please use Intel? Vtune? Amplifier XE 2011 online help, searching "amplxe-cl syntax"

Regards, Peter


0 Kudos
Reply