## profiling

- user-defined event Augmenting PETSc profiling by add events.
  Run this program with one of the
  following options to generate logging information: -log, -log_summary,
  -log_all. The PETSc routines automatically log event times and flops,
  so this monitoring is intended solely for users to employ in application
  codes. Note that the code must be compiled with the flag -DPETSC_USE_LOG
  (the default) to activate logging.
- activating/deactivating events Augmenting PETSc profiling by add events.
  Run this program with one of the
  following options to generate logging information: -log, -log_summary,
  -log_all. The PETSc routines automatically log event times and flops,
  so this monitoring is intended solely for users to employ in application
  codes. Note that the code must be compiled with the flag -DPETSC_USE_LOG
  (the default) to activate logging.