PetscLogEventMPEActivate
Indicates that a particular event should be logged using MPE. Note: the event may be either a pre-defined PETSc event (found in include/petsclog.h) or an event number obtained with PetscLogEventRegister().
Synopsis
#include "petsc.h"
int PetscLogEventMPEActivate(int event)
Not Collective
Input Parameter
event -integer indicating event
Example of Usage
PetscLogEventMPEDeactivate(VEC_SetValues);
[code where you do not want to log VecSetValues()]
PetscLogEventMPEActivate(VEC_SetValues);
[code where you do want to log VecSetValues()]
See Also
PetscLogEventMPEDeactivate(), PetscLogEventActivate(), PetscLogEventDeactivate()
Level:advanced
Location:src/sys/src/plog/plogmpe.c
Index of all Profiling routines
Table of Contents for all manual pages
Index of all manual pages
Examples
src/sys/examples/tutorials/ex3.c.html
src/sys/examples/tutorials/ex3f.F.html