PGPROF User's Guide - The Portland Group
PGPROF User's Guide - The Portland Group
PGPROF User's Guide - The Portland Group
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Using <strong>PGPROF</strong><br />
Figure 2 <strong>PGPROF</strong> Initial View<br />
‣ To zoom in to the line level for a particular routine, double-click the function name.<br />
This action opens a tab that displays profiling data specific to the given function. <strong>The</strong> tab<br />
label is the function name followed by an x icon. You use the x icon to close the tab when<br />
you no longer want to view that information.<br />
In this tab, <strong>PGPROF</strong> displays the source code for that routine, together with the performance<br />
data for each line. For example, if you double-click on the function fft, <strong>PGPROF</strong> displays<br />
a new tab labelled fft that contains the source code for that function, as illustrated in Figure<br />
3.<br />
Because your program is probably optimized, you may notice that performance data is only<br />
shown for a subset of the source lines. For example, a multi-line loop may only have linelevel<br />
data for the first line of the loop.<br />
PGI Profiler User <strong>Guide</strong> 10