# PetscLogEventGetPerfInfo
Return the performance information about the given event in the given stage 
## Synopsis
```
#include "petscsys.h"   
PetscErrorCode PetscLogEventGetPerfInfo(int stage, PetscLogEvent event, PetscEventPerfInfo *info)
```

## Input Parameters

- ***stage -*** The stage number or `PETSC_DETERMINE` for the current stage
- ***event -*** The event number



## Output Parameters

- ***info -*** This structure is filled with the performance information





## Note
This is a low level routine used by the logging functions in PETSc


## See Also
 `PetscLogEventGetFlops()`

## Level
Intermediate

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/sys/logging/utils/eventlog.c.html#PetscLogEventGetPerfInfo">src/sys/logging/utils/eventlog.c</A>

## Examples
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/ksp/ksp/tutorials/ex76.c.html">src/ksp/ksp/tutorials/ex76.c.html</A><BR>
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/ksp/ksp/tutorials/ex79.c.html">src/ksp/ksp/tutorials/ex79.c.html</A><BR>


---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/sys/logging/utils/eventlog.c)


[Index of all Profiling routines](index.md)  
[Table of Contents for all manual pages](/docs/manualpages/index.md)  
[Index of all manual pages](/docs/manualpages/singleindex.md)  
