Ignore:
Timestamp:
04/03/24 10:33:55 (7 weeks ago)
Author:
jderouillat
Message:

New timers integration/reporting

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS3/trunk/src/transformation/grid_algorithm_generic.cpp

    r2291 r2628  
    66#include "context.hpp" 
    77#include "transform_filter.hpp" 
     8#include "timer.hpp" 
    89 
    910namespace xios 
    1011{ 
     12  extern CLogType logProfile ; 
    1113 
    1214  CGridAlgorithmGeneric::CGridAlgorithmGeneric(CGrid* gridSrc, CGrid* gridDst, int pos,  shared_ptr<CGenericAlgorithmTransformation> algo) 
     
    5456  { 
    5557    CArray<double,1> dataOutTmp ; 
     58    if (info.isActive(logProfile)) CTimer::get("Transformation transfers").resume() ; 
    5659    gridTransformConnector_->transfer(dataIn, dataOutTmp) ; 
     60    if (info.isActive(logProfile)) CTimer::get("Transformation transfers").suspend() ; 
    5761    algorithm_->apply(dimBefore_, dimAfter_, dataOutTmp, dataOut) ; 
    5862  } 
Note: See TracChangeset for help on using the changeset viewer.