Nodes of different colours represent the following:
Solid arrows point from a procedure to one which it calls. Dashed
arrows point from an interface to procedures which implement that interface.
This could include the module procedures in a generic interface or the
implementation in a submodule of an interface in a parent module.
Where possible, edges connecting nodes are
given different colours to make them easier to distinguish in
large graphs.
Nodes of different colours represent the following:
Solid arrows point from a procedure to one which it calls. Dashed
arrows point from an interface to procedures which implement that interface.
This could include the module procedures in a generic interface or the
implementation in a submodule of an interface in a parent module.
Where possible, edges connecting nodes are
given different colours to make them easier to distinguish in
large graphs.
Variables
Type
Visibility
Attributes
Name
Initial
real(kind=wp),
private
::
gib
real(kind=wp),
private
::
mib
Source Code
pure function mem_format_bytes(bytes)result(str)!! Human-readable byte count: two decimals, GB at/above 1 GiB,!! MB below. Used for every figure in the budget log so the!! units stay consistent.integer(int64),intent(in)::bytescharacter(len=:),allocatable::strreal(wp)::gib,mibif(bytes>=BYTES_PER_GIB)thengib=real(bytes,wp)/real(BYTES_PER_GIB,wp)str=two_dp(gib)//" GB"elsemib=real(bytes,wp)/real(BYTES_PER_MIB,wp)str=two_dp(mib)//" MB"end if end function mem_format_bytes