12. Profiling

Up: Contents Next: Basic Profiling Information Previous: Additional Information

PETSc includes a consistent, lightweight scheme to allow the profiling of application programs. The PETSc routines automatically log performance data if certain options are specified at runtime. The user can also log information about application codes for a complete picture of performance. In addition, as described in Section Interpreting -log_info Output: Informative Messages , PETSc provides a mechanism for printing informative messages about computations. Section Basic Profiling Information introduces the various profiling options in PETSc, while the remainder of the chapter focuses on details such as monitoring application codes and tips for accurate profiling.


Up: Contents Next: Basic Profiling Information Previous: Additional Information