PetscLogStateStageSetActive#
Mark a stage as active or inactive.
Synopsis#
#include "petsclog.h" 
PetscErrorCode PetscLogStateStageSetActive(PetscLogState state, PetscLogStage stage, PetscBool isActive)
Not collective
Input Parameters#
- state - a - PetscLogState
- stage - a registered - PetscLogStage
- isActive - if - PETSC_FALSE,- PetscLogStateEventGetActive()will return- PETSC_FALSEfor all events during this stage
Note#
This is called for the global state (PetscLogGetState()) in PetscLogStageSetActive()
See Also#
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