Changeset 2628 for XIOS3/trunk/src/filter/model_to_client_source_filter.cpp
- Timestamp:
- 04/03/24 10:33:55 (6 weeks ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS3/trunk/src/filter/model_to_client_source_filter.cpp
r2418 r2628 6 6 #include "workflow_graph.hpp" 7 7 #include "mem_checker.hpp" 8 #include "timer.hpp" 8 9 9 10 namespace xios 10 11 { 12 extern CLogType logProfile ; 11 13 CModelToClientSourceFilter::CModelToClientSourceFilter(CGarbageCollector& gc, CGrid* grid, bool hasMissingValue, double defaultValue) 12 14 : COutputPin(gc) … … 37 39 const double nanValue = std::numeric_limits<double>::quiet_NaN(); 38 40 packet->data.resize(connector->getDstSize()) ; 41 if (info.isActive(logProfile)) CTimer::get("Model to client").resume(); 39 42 connector->transfer(data, packet->data, nanValue) ; 43 if (info.isActive(logProfile)) CTimer::get("Model to client").suspend(); 40 44 41 45 CMemChecker::logMem( "CModelToClientSourceFilter::streamData" ); … … 50 54 51 55 buildWorkflowGraph(packet); 56 if (info.isActive(logProfile)) CTimer::get("Client workflow").resume(); 52 57 onOutputReady(packet); 58 if (info.isActive(logProfile)) CTimer::get("Client workflow").suspend(); 53 59 } 54 60
Note: See TracChangeset
for help on using the changeset viewer.