12.1. Basic Profiling Information

Up: Contents Next: Interpreting -log_summary Output: The Basics Previous: Profiling

If an application code and the PETSc libraries have been compiled with the -DPETSC_LOG flag (which is the default for all versions), then various kinds of profiling of code between calls to PetscInitialize() and PetscFinalize() can be activated at runtime. Note that the flag -DPETSC_LOG can be specified for an installation of PETSc in the file ${}PETSC_DIR/bmake/${}PETSC_ARCH/base.${}BOPT, as discussed in Section PETSc Flags . The profiling options include the following:


As discussed in Section Using -log_mpe with Upshot/Nupshot , additional profilng can be done with MPE.


Up: Contents Next: Interpreting -log_summary Output: The Basics Previous: Profiling