Changes between Version 8 and Version 9 of OfflineAddingMemoryandTimingInformation


Ignore:
Timestamp:
May 18, 2025, 7:55:45 PM (7 weeks ago)
Author:
lnerger
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • OfflineAddingMemoryandTimingInformation

    v8 v9  
    3535The output will look like this:
    3636{{{
    37                        PDAF Memory overview
    38           ---------------------------------------------
    39                      Allocated memory  (MB)
    40               state and U:   0.59617 MB (persistent)
    41            ensemble array:   0.64087 MB (persistent)
    42             analysis step:   6.05578 MB (temporary)
    43                resampling:   2.81129 MB (temporary)
     37PDAF                       PDAF Memory overview
     38PDAF          ---------------------------------------------
     39PDAF                     Allocated memory  (MiB)
     40PDAF              state and A:      2.000 MiB (persistent)
     41PDAF           ensemble array:     16.000 MiB (persistent)
     42PDAF            analysis step:      0.757 MiB (temporary)
     43PDAF                 PDAF-OMI:      0.521 MiB (temporary)
     44
    4445}}}
    4546
    4647This memory information shows only the memory required by a single filter processes. In the example codes, this is the process with `mype_world=0`. One can also display the overall allocated memory by adding
    4748{{{
    48   IF (mype_world==0) CALL PDAF_print_info(11)
     49  CALL PDAF_print_info(11)
    4950}}}
    5051to the routine `finalize_pdaf`.
     
    7576This timing display is particularly aimed at distinguishing the time spent in call-back routines from the time spent in PDAF-internal routines or PDAF-OMI internal routines. This timing information indicate those call-back routines that need particularly much time.
    7677
     78The timing information is for a single process. In the example codes, this is the process with `mype_world=0`. Without checking for `mype_world` one can let each process display its timing information.
     79
    7780Less detailed information cab be obtained using a value of 1, and more detailed information can be obtained using a value of 4 in the call to `PDAF_print_info`.
    7881