PetscLogStateStageGetActive#

Check if a logging stage is active or inactive.

Synopsis#

#include "petsclog.h" 
PetscErrorCode PetscLogStateStageGetActive(PetscLogState state, PetscLogStage stage, PetscBool *isActive)

Not collective

Input Parameters#

Output Parameter#

  • isActive - if PETSC_FALSE, the state should not send logging events to log handlers during this stage.

Note#

This is called for the global state (PetscLogGetState()) in PetscLogStageGetActive().

See Also#

Profiling, PetscLogState, PetscLogStageSetActive(), PetscLogHandler, PetscLogHandlerStart(), PetscLogHandlerEventBegin(), PetscLogHandlerEventEnd()

Level#

developer

Location#

src/sys/logging/state/logstate.c


Index of all Profiling routines
Table of Contents for all manual pages
Index of all manual pages