Performance Analysis
The following tools are provided to display additional execution information.
PROGINF
PROGINF
provides program execution analysis information throughout the execution of program.
To use PROGINF
compile your C code using ncc
. The PROGINF
-library is linked by default.
When setting VE_PROGINF
to YES
or DETAIL
at runtime, additional information will be displayed.
For additional information see the PROGINF
and FTRACE
users guide.
FTRACE
FTRACE
is used to obtain performance information such as the CPU usage and vectorization
aspect of each function in a program, as well as user regions.
To use FTRACE
compile your C code using ncc
with the -ftrace
flag.
When executing, a ftrace.out.*
file is generated, which can be viewed using ftrace -f ftrace.out.*
.
For additional information see the PROGINF
and FTRACE
users guide
and the NEC FTRACE
Viewer users guide.
To pass the -ftrace
flag to ncc
while using our OpenMP offloading implementation use the -Xopenmp-target
clang flag as described in Passing Arguments to the Target Compiler.