petsc-3.7.1 2016-05-15
Report Typos and Errors

PetscLogAllBegin

Turns on extensive logging of objects and events. Logs all events. This creates large log files and slows the program down.

Synopsis

#include "petscsys.h"   
PetscErrorCode  PetscLogAllBegin(void)
Logically Collective on PETSC_COMM_WORLD Many br

Options Database Keys

-log_all -Prints extensive log information Many br

Usage

     PetscInitialize(...);
     PetscLogAllBegin();
     ... code ...
     PetscLogDump(filename);
     PetscFinalize();
Many br

Notes

A related routine is PetscLogDefaultBegin() (with the options key -log), which is Many brintended for production runs since it logs only flop rates and object Many brcreation (and shouldn't significantly slow the programs). Many br

Many br

Keywords

log, all, begin

See Also

PetscLogDump(), PetscLogDefaultBegin(), PetscLogTraceBegin()

Level:advanced
Location:
src/sys/logging/plog.c
Index of all Profiling routines
Table of Contents for all manual pages
Index of all manual pages