#include "petscsys.h" PetscErrorCode PetscLogView(PetscViewer viewer)Collective over MPI_Comm
     PetscInitialize(...);
     PetscLogBegin();
     ... code ...
     PetscLogView(PetscViewer);
     PetscFinalize(...);
Level:beginner
Location:src/sys/logging/plog.c
Index of all Profiling routines
Table of Contents for all manual pages
Index of all manual pages