comm -communicator the barrier takes place over
Synopsis
int PetscLogEventBarrierBegin(int e,PetscObject o1,PetscObject o2,PetscObject o3,
PetscObject o4,MPI_Comm comm)
Usage
PetscLogEventBarrierBegin(VEC_NormBarrier,0,0,0,0,comm);
Code
PetscLogEventBarrierEnd(VEC_NormBarrier,0,0,0,0,comm);
Notes
This is for logging the amount of time spent in a barrier for an event
that requires synchronization.
Additional Notes
Synchronization events always come in pairs; for example, VEC_NormBarrier and
VEC_Norm = VEC_NormBarrier + 1
See Also
PetscLogEventRegister(), PetscLogEventEnd(), PetscLogFlops(), PetscLogEventBegin(),
PetscLogEventBarrierEnd()
Level:developer
Location:src/sys/src/plog/plog.c
Index of all Profiling routines
Table of Contents for all manual pages
Index of all manual pages