Ignore:
Timestamp:
11/22/22 14:25:20 (19 months ago)
Author:
jderouillat
Message:

Backport the XIOS3 system to log the memory consumption (commit ID [2418-2420,2425-2426])

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS2/trunk/src/server.cpp

    r2029 r2428  
    1313#include "tracer.hpp" 
    1414#include "timer.hpp" 
     15#include "mem_checker.hpp" 
    1516#include "event_scheduler.hpp" 
    1617#include "string_tools.hpp" 
     
    423424      MPI_Comm_free(&intraComm); 
    424425 
     426      CMemChecker::logMem( "CServer::finalize", true ); 
    425427      if (!is_MPI_Initialized) 
    426428      { 
     
    432434      report(0)<<"Performance report : Ratio : "<<CTimer::get("Process events").getCumulatedTime()/CTimer::get("XIOS server").getCumulatedTime()*100.<<"%"<<endl  ; 
    433435      report(100)<<CTimer::getAllCumulatedTime()<<endl ; 
     436      report(100)<<CMemChecker::getAllCumulatedMem()<<endl ; 
    434437    } 
    435438 
Note: See TracChangeset for help on using the changeset viewer.