PLogAllBegin

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

Synopsis

#include "petsc.h"   
int PLogAllBegin(void)
Not Collective

Options Database Keys

-log_all -Prints extensive log information (for code compiled with PETSC_USE_LOG)

Usage

     PetscInitialize(...);
     PLogAllBegin();
     ... code ...
     PLogDump(filename);
     PetscFinalize();

Notes

A related routine is PLogBegin (with the options key -log), which is intended for production runs since it logs only flop rates and object creation (and should not significantly slow the programs).

Keywords

log, all, begin

See Also

PLogDump(), PLogBegin(), PLogTraceBegin()

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