PLogPrintSummary

Prints a summary of the logging.

Synopsis

#include "petsc.h"   
int PLogPrintSummary(MPI_Comm comm,const char filename[])
Collective over MPI_Comm

Input Parameter

comm - MPI communicator (only one processor prints output)
file - an optional file name

Options Database Keys

-log_summary -Prints summary of log information (for code compiled with PETSC_USE_LOG)

Usage

     PetscInitialize(...);
     PLogBegin();
     ... code ...
     PLogPrintSummary(MPI_Comm,filename);
     PetscFinalize(...);

Notes

By default the summary is printed to stdout. More extensive examination of the log information can be done with PLogDump(), which is activated by the option -log or -log_all, in combination with petsc/bin/petscview.

Keywords

log, dump, print

See Also

PLogBegin(), PLogDump()

Level:beginner
Location:src/sys/src/plog/plog.c
Logging Index
Table of Contents