Download Profiler User's Guide - Computer Science and Engineering

Transcript
TABLE OF CONTENTS
Profiling Overview................................................................................................v
What's New.......................................................................................................v
Terminology..................................................................................................... vi
Chapter 1. Preparing An Application For Profiling........................................................ 1
1.1. Focused Profiling..........................................................................................1
1.2. Marking Regions of CPU Activity....................................................................... 2
1.3. Naming CPU and CUDA Resources..................................................................... 2
1.4. Flush Profile Data.........................................................................................2
1.5. Dynamic Parallelism...................................................................................... 3
Chapter 2. Visual Profiler...................................................................................... 4
2.1. Getting Started............................................................................................4
2.1.1. Modify Your Application For Profiling............................................................ 4
2.1.2. Creating a Session...................................................................................4
2.1.3. Analyzing Your Application.........................................................................5
2.1.4. Exploring the Timeline............................................................................. 5
2.1.5. Looking at the Details.............................................................................. 5
2.2. Sessions..................................................................................................... 6
2.2.1. Executable Session.................................................................................. 6
2.2.2. Import Session....................................................................................... 6
2.2.2.1. Import nvprof Session......................................................................... 6
2.2.2.2. Import Command-Line Profiler Session..................................................... 7
2.3. Application Requirements............................................................................... 7
2.4. Profiling Limitations...................................................................................... 8
2.5. Visual Profiler Views..................................................................................... 8
2.5.1. Timeline View........................................................................................ 8
2.5.1.1. Timeline Controls............................................................................. 10
2.5.1.2. Navigating the Timeline..................................................................... 11
2.5.2. Analysis View....................................................................................... 13
2.5.3. Details View.........................................................................................14
2.5.4. Properties View.....................................................................................15
2.5.5. Console View........................................................................................16
2.5.6. Settings View....................................................................................... 16
2.6. Customizing the Visual Profiler....................................................................... 17
2.6.1. Resizing a View.....................................................................................17
2.6.2. Reordering a View................................................................................. 17
2.6.3. Moving a View...................................................................................... 17
2.6.4. Undocking a View.................................................................................. 17
2.6.5. Opening and Closing a View..................................................................... 18
Chapter 3. nvprof...............................................................................................19
3.1. Profiling Modes...........................................................................................19
www.nvidia.com
Profiler User's Guide
DU-05982-001_v5.5 | ii