Ignore:
Timestamp:
10/11/22 15:19:14 (21 months ago)
Author:
jderouillat
Message:

Integrates a system to log the memory consumption from XIOS init to XIOS finalize, and a HTML webpage to visualize it. The API to use it from models is available too.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS3/trunk/src/mem_checker.hpp

    r2274 r2418  
    1313      void suspend(void); 
    1414      void resume(void); 
     15      void suspendRSS(void); 
     16      void resumeRSS(void); 
    1517      void reset(void); 
    1618      double getCumulatedMem(void); 
    1719      static double getMem(void); 
     20      static double getMemRSS(void); 
     21      static void logMem( std::string id, bool finalizeLog = false ); 
    1822      static CMemChecker& get(std::string name); 
    1923      static std::string getAllCumulatedMem(void) ; 
     
    3236      static bool first_ ; 
    3337      static bool enabled_ ; 
     38 
     39      static double vsize_init_; 
     40      static double time_init_; 
    3441  }; 
    3542} 
Note: See TracChangeset for help on using the changeset viewer.