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/client.cpp

    r2407 r2418  
    1818#include "workflow_graph.hpp" 
    1919#include "release_static_allocation.hpp" 
     20#include "mem_checker.hpp" 
    2021 
    2122namespace xios 
     
    520521      report(0)<< " Memory report : increasing it by a factor will increase performance, depending of the volume of data wrote in file at each time step of the file"<<endl ; 
    521522      report(100)<<CTimer::getAllCumulatedTime()<<endl ; 
     523      report(100)<<CMemChecker::getAllCumulatedMem()<<endl ; 
    522524      CWorkflowGraph::drawWorkFlowGraph_client(); 
    523525 
Note: See TracChangeset for help on using the changeset viewer.