Ignore:
Timestamp:
05/18/17 17:26:56 (7 years ago)
Author:
ymipsl
Message:

Add "light" memory tracking which must be activated at compile time : make_xios --memtrack light

  • report at info level 10 : max memory consumption and the current memory consumption at the end of exection
  • info at info level 50 : at each timestep, the current memory consumption is printed

YM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/trunk/src/memtrack.hpp

    r501 r1137  
    6161    void TrackDumpBlocks(); 
    6262    void TrackListMemoryUsage(); 
    63  
     63    size_t getCurrentMemorySize(void) ; 
     64    size_t getMaxMemorySize(void) ; 
    6465    /* ---------------------------------------- operator * (MemStamp, ptr) */ 
    6566 
Note: See TracChangeset for help on using the changeset viewer.