PLogEventDeactivate

Indicates that a particular event should not be logged. Note: the event may be either a pre-defined PETSc event (found in include/petsclog.h) or an event number obtained with PLogEventRegister().

Synopsis

int PLogEventDeactivate(int event)
Not Collective

Input Parameter

event -integer indicating event

Example of Usage

      PetscInitialize(int *argc,char ***args,0,0);
      PLogEventDeactivate(VEC_SetValues);
         code where you do not want to log VecSetValues() 
      PLogEventActivate(VEC_SetValues);
         code where you do want to log VecSetValues() 
      .......
      PetscFinalize();

See Also

PLogEventMPEDeactivate(),PLogEventMPEActivate(),PlogEventActivate()

Examples

src/sys/examples/tutorials/ex3f.F
src/sys/examples/tutorials/ex3.c

Location: src/plog/src/plog.c
Logging Index
Table of Contents