concept gprof in category parallel computing

appears as: gprof
Parallel and High Performance Computing

This is an excerpt from Manning's book Parallel and High Performance Computing.

Profiling tools allow for quicker optimization, improving hardware utilization, and a better understanding of the application performance and hotspots. We discuss how profiling tools expose bottlenecks and assist you in attaining better usage of hardware. Listed below, are the commonly used tools in GPU profiling. We specifically show the usage of the Nvidia tools for use with their GPUs because these tools have been around the longest. If you have a different vendor’s GPU in your system, substitute their tools in the workflow. Don’t forget about the standard Unix profiling tools such as gprof that we use later in section 13.4.2. The accompanying source code for the chapter at http://github.com/EssentialsOfParallelComputing/Chapter13 shows examples of installing the software packages for the tools from different hardware vendors. There are detailed lists of all the software that can be installed for each vendor. You will probably want to install the tools for the corresponding hardware. While a tool for another vendor might partially run on your system, its full functionality will be crippled. We show tools for Nvidia, but if you have a different vendor’s GPU, substitute the corresponding tools in your code development.

-  int      nx = 500, ny = 200;
+  int      nx = 5000, ny = 2000;