# 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


## Usage
```none
     int something;

     PetscFunctionBeginHot;
```



## Notes
Not available in Fortran




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


## Level
developer

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


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