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

New timers integration/reporting

File:
1 edited

Legend:

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

    r2418 r2628  
    66#include "workflow_graph.hpp" 
    77#include "mem_checker.hpp" 
     8#include "timer.hpp" 
    89 
    910namespace xios 
    1011{ 
     12  extern CLogType logProfile ; 
    1113  CModelToClientSourceFilter::CModelToClientSourceFilter(CGarbageCollector& gc, CGrid* grid, bool hasMissingValue, double defaultValue) 
    1214    : COutputPin(gc) 
     
    3739    const double nanValue = std::numeric_limits<double>::quiet_NaN(); 
    3840    packet->data.resize(connector->getDstSize()) ; 
     41    if (info.isActive(logProfile)) CTimer::get("Model to client").resume(); 
    3942    connector->transfer(data, packet->data, nanValue) ; 
     43    if (info.isActive(logProfile)) CTimer::get("Model to client").suspend(); 
    4044 
    4145    CMemChecker::logMem( "CModelToClientSourceFilter::streamData" ); 
     
    5054     
    5155    buildWorkflowGraph(packet); 
     56    if (info.isActive(logProfile)) CTimer::get("Client workflow").resume(); 
    5257    onOutputReady(packet); 
     58    if (info.isActive(logProfile)) CTimer::get("Client workflow").suspend(); 
    5359  } 
    5460   
Note: See TracChangeset for help on using the changeset viewer.