Log one indented breakdown line for a component of the counted footprint (barotropic / layers / closures / …). Skipped when the component is empty so gated-off slots don’t clutter the report.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| character(len=*), | intent(in) | :: | label | |||
| integer(kind=int64), | intent(in) | :: | bytes |
subroutine mem_log_computed_line(label, bytes) !! Log one indented breakdown line for a component of the counted !! footprint (barotropic / layers / closures / …). Skipped when the !! component is empty so gated-off slots don't clutter the report. character(len=*), intent(in) :: label integer(int64), intent(in) :: bytes if (bytes <= 0_int64) return call logger%info(" "//trim(label)//": "//mem_format_bytes(bytes)) end subroutine mem_log_computed_line