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
PetscLogStatestage - a registered
PetscLogStageisActive - if
PETSC_FALSE,PetscLogStateEventGetActive()will returnPETSC_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 Log routines
Table of Contents for all manual pages
Index of all manual pages