Ignore:
Timestamp:
09/02/21 17:06:35 (3 years ago)
Author:
ymipsl
Message:

Revisiting Memory tracking :

  • MemTrack? has been improved
    • Not need anymore to use private external libaddr2line, fork addr2line process internaly and use bidrectionnale pipe to send stack adress et get in return the demangle stack name
    • Can use cxa_demangle in backup
  • Block memory leak report is output in separate file (xios_xxx.mem),memory block are ordonned in decreasing size.
  • Possibility to output only the n bigest bloc with : "memtrack_blocs" xios parameters
  • Possibility to output only bloc over a given size with : "memtrack_size" xios parameters
  • Implement new method to retrieve the memory consumed in a time interval very similarely to xios timer :

CMemTracker("xios").resume()
CMemTracker("xios").suspend() ;
etc....

YM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/dev/dev_ym/XIOS_COUPLING/src/server.hpp

    r1765 r2212  
    6767        static CServersRessource* getServersRessource(void) { return serversRessource_;} 
    6868        static void launchServersRessource(MPI_Comm commServer) ; 
     69        static void openStream(const StdString& fileName, const StdString& ext, std::filebuf* fb); 
    6970       
    7071      private: 
     
    7475        static StdOFStream m_infoStream; 
    7576        static StdOFStream m_errorStream; 
    76         static void openStream(const StdString& fileName, const StdString& ext, std::filebuf* fb); 
    7777        static CServersRessource* serversRessource_ ; 
    7878    }; 
Note: See TracChangeset for help on using the changeset viewer.