PetscLogPrintSummary
Prints a summary of the logging.
Synopsis
#include "petsc.h"
int PetscLogPrintSummary(MPI_Comm comm, const char filename[])
Collective over MPI_Comm
Input Parameter
| comm | - The MPI communicator (only one processor prints output)
|
| file | - [Optional] The output file name
|
Options Database Keys
-log_summary -Prints summary of log information (for code compiled with PETSC_USE_LOG)
Usage
PetscInitialize(...);
PetscLogBegin();
... code ...
PetscLogPrintSummary(MPI_Comm,filename);
PetscFinalize(...);
Notes
By default the summary is printed to stdout.
More extensive examination of the log information can be done with
PetscLogDump(), which is activated by the option -log or -log_all, in
combination with petsc/bin/petscview.
Keywords
log, dump, print
See Also
PetscLogBegin(), PetscLogDump()
Level:beginner
Location:src/sys/src/plog/plog.c
Index of all Profiling routines
Table of Contents for all manual pages
Index of all manual pages