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.

Location:
XIOS3/trunk/src/filter
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • XIOS3/trunk/src/filter/model_to_client_source_filter.cpp

    r2143 r2418  
    55#include <limits>  
    66#include "workflow_graph.hpp" 
     7#include "mem_checker.hpp" 
    78 
    89namespace xios 
     
    3738    packet->data.resize(connector->getDstSize()) ; 
    3839    connector->transfer(data, packet->data, nanValue) ; 
     40 
     41    CMemChecker::logMem( "CModelToClientSourceFilter::streamData" ); 
    3942 
    4043    if (hasMissingValue_) 
  • XIOS3/trunk/src/filter/temporal_filter.cpp

    r2195 r2418  
    33#include "calendar_util.hpp" 
    44#include "workflow_graph.hpp" 
     5#include "mem_checker.hpp" 
    56 
    67namespace xios 
     
    117118          packet = data[0]; 
    118119 
     120        CMemChecker::logMem( "CTemporalFilter::apply" ); 
     121 
    119122        isFirstOperation = false; 
    120123        graphCycleCompleted = true; 
Note: See TracChangeset for help on using the changeset viewer.