In this module we collect routines and type definitions related to statistics for the runtime of the code.
runtime statistics this includes memory consumption, amount of data to communciate, runtimes etc.
| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| integer, | private | :: | nLinks_comm | = | 0 | number of links to communicate Subset of nLinks_total |
|
| integer, | private | :: | nLinks_total | = | 0 | number of total links available which theoretically can be communciated |
|
| integer, | private | :: | nProcs_send | = | 0 | Mean number of neighbor processes to which one process needs to send |
Calculate the number of links to be communicated
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(mus_statistics_type), | intent(inout) | :: | stat | runtime statistic |
||
| integer, | intent(in) | :: | comm | |||
| integer, | intent(in) | :: | nProcs |