Download PGI Profiler User Guide

Transcript
2.9.2. Profiling CUDA Fortran Programs..................................................................................................................... 26
Chapter 3. Compiler Options for Profiling........................................................................................................................29
3.1. -Mprof Syntax............................................................................................................................................................ 29
3.2. Profiling Compilation Options.................................................................................................................................... 29
Chapter 4. Command Line Options...................................................................................................................................31
4.1. Command Line Option Descriptions......................................................................................................................... 31
4.2. Profiler Invocation and Startup..................................................................................................................................32
Chapter 5. Environment Variables.....................................................................................................................................34
5.1. System Environment Variables..................................................................................................................................34
Chapter 6. Data and Precision...........................................................................................................................................35
6.1. Measuring Time......................................................................................................................................................... 35
6.2. Profile Data................................................................................................................................................................35
6.3. Caveats (Precision of Profiling Results)....................................................................................................................36
6.3.1. Accuracy of Performance Data......................................................................................................................... 36
6.3.2. Clock Granularity............................................................................................................................................... 36
6.3.3. Source Code Correlation................................................................................................................................... 37
Chapter 7. PGPROF Reference.......................................................................................................................................... 38
7.1. PGPROF User Interface Overview........................................................................................................................... 38
7.2. PGPROF Menus........................................................................................................................................................39
7.2.1. File Menu........................................................................................................................................................... 39
7.2.2. Edit Menu...........................................................................................................................................................40
7.2.3. View Menu......................................................................................................................................................... 41
7.2.4. Sort Menu.......................................................................................................................................................... 42
7.2.5. Help Menu..........................................................................................................................................................42
7.3. PGPROF Toolbar.......................................................................................................................................................43
7.4. PGPROF Statistics Table.......................................................................................................................................... 44
7.4.1. Performance Data Views................................................................................................................................... 44
7.4.2. Source Code Line Numbering........................................................................................................................... 45
7.5. PGPROF Focus Panel.............................................................................................................................................. 45
7.5.1. Parallelism tab................................................................................................................................................... 46
7.5.2. Histogram tab.....................................................................................................................................................46
7.5.3. Compiler Feedback tab..................................................................................................................................... 46
7.5.4. System Configuration tab.................................................................................................................................. 47
7.5.5. Accelerator Performance tab............................................................................................................................. 47
Chapter 8. Command Line Interface................................................................................................................................. 51
8.1. Command Description Syntax...................................................................................................................................51
8.2. PGPROF Command Summary................................................................................................................................. 51
8.3. Command Reference.................................................................................................................................................52
Chapter 9. pgcollect Reference......................................................................................................................................... 56
9.1. pgcollect Overview.....................................................................................................................................................56
9.2. Invoke pgcollect.........................................................................................................................................................57
9.3. Build for pgcollect......................................................................................................................................................57
9.4. General Options........................................................................................................................................................ 57
PGI Profiler User Guide
iii