:orphan:
# PetscEventPerfLogEnsureSize
This ensures that a `PetscEventPerfLog` is at least of a certain size. 
## Synopsis
```
#include "petscsys.h"   
PetscErrorCode PetscEventPerfLogEnsureSize(PetscEventPerfLog eventLog, int size)
```
Not collective


## Input Parameters

- ***eventLog -*** The `PetscEventPerfLog`
- ***size     -*** The size





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


## See Also
 `PetscEventPerfLogCreate()`

## Level
developer

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


---
[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](/manualpages/index.md)  
[Index of all manual pages](/manualpages/singleindex.md)  
