Changeset 2628 for XIOS3/trunk/src/filter/filter.cpp
- Timestamp:
- 04/03/24 10:33:55 (7 weeks ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS3/trunk/src/filter/filter.cpp
r1358 r2628 1 1 #include "filter.hpp" 2 #include "timer.hpp" 2 3 3 4 namespace xios 4 5 { 6 extern CLogType logProfile ; 5 7 CFilter::CFilter(CGarbageCollector& gc, size_t inputSlotsCount, IFilterEngine* engine) 6 8 : CInputPin(gc, inputSlotsCount) … … 12 14 void CFilter::onInputReady(std::vector<CDataPacketPtr> data) 13 15 { 16 if (info.isActive(logProfile)) CTimer::get("Applying filters").resume() ; 14 17 CDataPacketPtr outputPacket = engine->apply(data); 18 if (info.isActive(logProfile)) CTimer::get("Applying filters").suspend() ; 15 19 if (outputPacket) 16 20 onOutputReady(outputPacket);
Note: See TracChangeset
for help on using the changeset viewer.