Ignore:
Timestamp:
01/25/18 14:58:58 (6 years ago)
Author:
ymipsl
Message:

More timer instrumentation...

YM

Location:
XIOS/dev/XIOS_DEV_CMIP6/src/transformation
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • XIOS/dev/XIOS_DEV_CMIP6/src/transformation/axis_algorithm_interpolate.cpp

    r1324 r1412  
    1717#include "grid_transformation_factory_impl.hpp" 
    1818#include "distribution_client.hpp" 
     19#include "timer.hpp" 
    1920 
    2021namespace xios { 
     
    6364void CAxisAlgorithmInterpolate::computeIndexSourceMapping_(const std::vector<CArray<double,1>* >& dataAuxInputs) 
    6465{ 
     66  CTimer::get("CAxisAlgorithmInterpolate::computeIndexSourceMapping_").resume() ; 
    6567  CContext* context = CContext::getCurrent(); 
    6668  CContextClient* client=context->client; 
     
    8486    computeInterpolantPoint(valueSrc, indexVec, idx); 
    8587  } 
     88  CTimer::get("CAxisAlgorithmInterpolate::computeIndexSourceMapping_").suspend() ; 
    8689} 
    8790 
  • XIOS/dev/XIOS_DEV_CMIP6/src/transformation/grid_transformation.cpp

    r1399 r1412  
    386386        (CGenericAlgorithmTransformation::ELEMENT_MODIFICATION_WITH_DATA == algo->type()))) // Only registered transformation can be executed 
    387387    { 
     388      CTimer::get("computeIndexSourceMapping").resume() ; 
    388389      algo->computeIndexSourceMapping(dataAuxInputs); 
    389  
     390      CTimer::get("computeIndexSourceMapping").suspend() ; 
     391       
    390392      // ComputeTransformation of global index of each element 
    391393      int elementPosition = it->first; 
Note: See TracChangeset for help on using the changeset viewer.