PetscLogStateEventSetActive#
Set a logging event as active or inactive during a logging stage.
Synopsis#
#include "petsclog.h"
PetscErrorCode PetscLogStateEventSetActive(PetscLogState state, PetscLogStage stage, PetscLogEvent event, PetscBool isActive)
Not collective
Input Parameters#
state - a
PetscLogStatestage - a registered
PetscLogStage, orPETSC_DEFAULTfor the current stageevent - a registered
PetscLogEventisActive - if
PETSC_FALSE,PetscLogStateEventGetActive()will returnPETSC_FALSEfor this stage and this event
Note#
This is called for the global state (PetscLogGetState()) in PetscLogEventActivate() and PetscLogEventDeactivate().
See Also#
Profiling, PetscLogState, PetscLogEventGetActive(), PetscLogStateGetCurrentStage(), PetscLogEventSetActiveAll()
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