:orphan:
# PetscFunctionBeginHot
Substitute for `PetscFunctionBegin` to be used in functions that are called in performance-critical circumstances.  Use of this function allows for lighter profiling by default. 
## Synopsis
```
#include <petscsys.h>
void PetscFunctionBeginHot;
```
Not Collective; No Fortran Support


## Usage
```none
     int something;

     PetscFunctionBeginHot;
```





## See Also
 `PetscFunctionBegin`, `PetscFunctionReturn()`, `PetscStackPushNoCheck()`


## Level
developer

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/include/petscerror.h.html#PetscFunctionBeginHot">include/petscerror.h</A>

## Examples
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/snes/tutorials/ex7.c.html">src/snes/tutorials/ex7.c</A><BR>


---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/include/petscerror.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)  
