PetscPreLoadEnd#
End a segment of code that may be preloaded (run twice) to get accurate timings
Synopsis#
#include <petsclog.h>
void PetscPreLoadEnd(void);
Not Collective
Example Usage#
PetscPreLoadBegin(PETSC_TRUE, "first stage");
// lines of code
PetscPreLoadStage("second stage");
// lines of code
PetscPreLoadEnd();
Note#
Only works in C/C++ not Fortran
See Also#
Profiling, PetscLogEventRegister(), PetscLogEventBegin(), PetscLogEventEnd(), PetscPreLoadBegin(), PetscPreLoadStage()
Level#
intermediate
Location#
Examples#
src/ksp/ksp/tutorials/ex10.c
src/ksp/ksp/tutorials/ex27.c
src/ksp/ksp/tutorials/ex72.c
src/ksp/ksp/tests/ex30.c
src/mat/tests/ex94.c
Index of all Log routines
Table of Contents for all manual pages
Index of all manual pages