PLogEventMPEActivate
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 PLogEventRegister().
Synopsis
#include "petsc.h"
int PLogEventMPEActivate(int event)
Not Collective
Input Parameter
event -integer indicating event
Example of Usage
PLogEventMPEDeactivate(VEC_SetValues);
[code where you do not want to log VecSetValues()]
PLogEventMPEActivate(VEC_SetValues);
[code where you do want to log VecSetValues()]
Keywords
log, MPE, begin
See Also
PLogEventMPEDeactivate(), PLogEventActivate(), PLogEventDeactivate()
Examples
src/sys/examples/tutorials/ex3f.F
src/sys/examples/tutorials/ex3.c
Level:advanced
Location:src/sys/src/plog/plogmpe.c
Logging Index
Table of Contents