#include "petscsys.h" PetscErrorCode PetscLogDefaultBegin(void)Logically Collective over PETSC_COMM_WORLD
-log_view [viewertype:filename:viewerformat] | - Prints summary of flop and timing information to the screen (for code configured with --with-log=1 (which is the default)) |
PetscInitialize(...); PetscLogDefaultBegin(); ... code ... PetscLogView(viewer); or PetscLogDump(); PetscFinalize();