PetscLogStateEventSetCollective#
Set the collective nature of a logging event
Synopsis#
#include "petsclog.h"
PetscErrorCode PetscLogStateEventSetCollective(PetscLogState state, PetscLogEvent event, PetscBool collective)
Logically collective
Input Parameters#
state - a
PetscLogStateevent - a registered
PetscLogEventcollective - if
PETSC_TRUE, MPI processes synchronize during this event, andPetscLogHandlerEventSync()can be used to help measure the delays between when the processes begin the event
Note#
This is called for the global state (PetscLogGetState()) in PetscLogEventSetCollective().
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