:orphan:
# PetscLogEvent
id used to identify PETSc or user events which timed portions (blocks of executable) code.
## See Also
[](ch_profiling), `PetscLogEventRegister()`, `PetscLogEventBegin()`, `PetscLogEventEnd()`, `PetscLogStage`
## Level
intermediate
## Location
include/petsclog.h
## Examples
src/ksp/ksp/tutorials/ex9.c
---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/include/petsclog.h)
[Index of all Sys routines](index.md)
[Table of Contents for all manual pages](/manualpages/index.md)
[Index of all manual pages](/manualpages/singleindex.md)