
Set up of the timing routines. Generation of the out_timing files for each rank.
| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| integer, | public, | parameter | :: | nkeys | = | 20 | |
| integer, | public, | parameter | :: | nkeylen | = | 40 | |
| character(len=nkeylen), | public | :: | timingkeys(nkeys) | = | '' | ||
| integer, | public | :: | start_time(nkeys) | = | 0 | ||
| real(kind=dp), | public | :: | interm_time(nkeys) | = | 0.0D0 | ||
| integer, | public | :: | ispaused(nkeys) | = | 0 | ||
| integer, | public | :: | writetiming | = | 1 | ||
| integer, | public | :: | init | = | 0 |
Checks if key has a timing
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| character(len=nkeylen), | intent(in) | :: | char1 | |||
| character(len=*), | intent(in), | optional | :: | char2 |
Set a key to the timings
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| character(len=nkeylen), | intent(in) | :: | char1 |
Initialize timing files
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer, | intent(in) | :: | my_rank |
MPI rank |
Start timing
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| character(len=*), | intent(in) | :: | mykey2 |
key for the timings |
Pause timing
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| character(len=*), | intent(in) | :: | mykey2 |
Stop timing
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| character(len=*), | intent(in) | :: | mykey2 |
Deletes a key from the timings
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| character(len=nkeylen), | intent(in) | :: | char1 |