#include "petscsys.h" PetscErrorCode PetscLogEventActivate(PetscLogEvent event)Not Collective
PetscLogEventDeactivate(VEC_SetValues);
[code where you do not want to log VecSetValues()]
PetscLogEventActivate(VEC_SetValues);
[code where you do want to log VecSetValues()]
Level:advanced
Location:src/sys/plog/plog.c
Index of all Profiling routines
Table of Contents for all manual pages
Index of all manual pages