SURFEX v8.1
General documentation of Surfex
yomhookstack.F90
Go to the documentation of this file.
2 
3 ! Used by dr_hook_util to monitor thread stack usage
4 ! Need "export STACKCHECK=yes"
5 
6 USE parkind1 ,ONLY : jpim ,jprb, jpib
7 
8 IMPLICIT NONE
9 
10 SAVE
11 
12 INTEGER(KIND=JPIB), ALLOCATABLE :: isave(:)
13 INTEGER(KIND=JPIB), ALLOCATABLE :: imaxstack(:)
14 LOGICAL, ALLOCATABLE :: ll_thread_first(:)
15 CHARACTER(LEN=3) :: cstack
16 
17 END MODULE yomhookstack
18 
integer, parameter jpim
Definition: parkind1.F90:13
integer(kind=jpib), dimension(:), allocatable isave
logical, dimension(:), allocatable ll_thread_first
integer, parameter jprb
Definition: parkind1.F90:32
character(len=3) cstack
integer(kind=jpib), dimension(:), allocatable imaxstack
integer, parameter jpib
Definition: parkind1.F90:14