Ignore:
Timestamp:
11/21/22 11:48:46 (19 months ago)
Author:
jderouillat
Message:

Update the memory log system to log virtual memory, resident memory and resident peak memory

File:
1 edited

Legend:

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

    r2420 r2425  
    55#include <map> 
    66#include <fstream> 
     7#include <vector> 
    78 
    89namespace xios 
     
    2021      static double getMem(void); 
    2122      static double getMemRSS(void); 
     23      static std::vector<double> getMemories(void); 
    2224      static void logMem( std::string id, bool finalizeLog = false ); 
    2325      static CMemChecker& get(std::string name); 
     
    3941 
    4042      static double vsize_init_; 
     43      static double rss_init_; 
     44      static double vmhwm_init_; 
    4145      static double time_init_; 
    4246      static std::ofstream fout_; 
Note: See TracChangeset for help on using the changeset viewer.