PetscLogNestedBegin#
Turns on nested logging of objects and events. This logs flop rates and object creation and should not slow programs down much.
Synopsis#
#include "petscsys.h"
PetscErrorCode PetscLogNestedBegin(void)
Logically Collective on PETSC_COMM_WORLD, No Fortran Support
Options Database Key#
-log_view :filename.xml:ascii_xml - Prints an XML summary of flop and timing information to the file
filename.xml. SeePetscOptionsCreateViewer()for other possible viewer specifications
Example Usage#
PetscInitialize(...);
PetscLogNestedBegin();
... code ...
PetscLogView(viewer);
PetscFinalize();
See Also#
PetscLogDump(), PetscLogView(), PetscLogTraceBegin(), PetscLogDefaultBegin()
Level#
advanced
Location#
Index of all Log routines
Table of Contents for all manual pages
Index of all manual pages