# PetscCheckPointerSetIntensity
An intense pointer check registers a signal handler and attempts to dereference to confirm whether the address is valid.  An intensity of 0 never uses signal handlers, 1 uses them when not in a "hot" function, and intensity of 2 always uses a signal handler. 
## Synopsis
```
PetscErrorCode PetscCheckPointerSetIntensity(PetscInt intensity)
```
Not Collective


## Input Parameter

- ***intensity -*** how much to check pointers for validity



## Options Database Key

- ***-check_pointer_intensity -*** intensity (0, 1, or 2)





## See Also
 `PetscCheckPointer()`, `PetscFunctionBeginHot()`

## Level
advanced

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/sys/error/checkptr.c.html#PetscCheckPointerSetIntensity">src/sys/error/checkptr.c</A>


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


[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)  
