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

PetscLogStagePush

This function pushes a stage on the stack.

Synopsis

#include "petscsys.h"   
PetscErrorCode  PetscLogStagePush(PetscLogStage stage)
Not Collective Many br

Input Parameter

stage -The stage on which to log Many br

Usage

If the option -log_sumary is used to run the program containing the Many brfollowing code, then 2 sets of summary data will be printed during Many brPetscFinalize(). Many br
      PetscInitialize(int *argc,char ***args,0,0);
      [stage 0 of code]
      PetscLogStagePush(1);
      [stage 1 of code]
      PetscLogStagePop();
      PetscBarrier(...);
      [more stage 0 of code]
      PetscFinalize();
Many br

Notes

Use PetscLogStageRegister() to register a stage. Many br

Many br

Keywords

log, push, stage

See Also

PetscLogStagePop(), PetscLogStageRegister(), PetscBarrier()

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

Examples

src/ksp/ksp/examples/tutorials/ex2.c.html
src/ksp/ksp/examples/tutorials/ex4.c.html
src/ksp/ksp/examples/tutorials/ex5.c.html
src/ksp/ksp/examples/tutorials/ex9.c.html
src/ksp/ksp/examples/tutorials/ex18.c.html
src/ksp/ksp/examples/tutorials/ex46.c.html
src/ksp/ksp/examples/tutorials/ex52.c.html
src/ksp/ksp/examples/tutorials/ex54.c.html
src/ksp/ksp/examples/tutorials/ex55.c.html
src/ksp/ksp/examples/tutorials/ex56.c.html
src/tao/pde_constrained/examples/tutorials/elliptic.c.html